Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

The DISTANCE Statement

  • Last UpdatedJan 20, 2023
  • 1 minute read

DISTANCE,<variable_1>,<variable_2>

<variable_1> is assigned the same value as <variable_2> and will get the same type as the first one. The maximum length of <variable_1> and <variable_2> is 32 characters. <variable_2> can be an expression, an integer constant or a decimal constant.

When the DISTANCE statement is used <variable_1> will be scaled with the current scale. This is not the case when the ASSIGN statement is used.

Related Links
TitleResults for “How to create a CRG?”Also Available in