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

Hull and Outfitting

The LOOP Statement

  • Last UpdatedJan 20, 2023
  • 1 minute read

LOOP,<loop_var>,<range>;

<loop_var> is the loop variable and the type is dependent on how <range> is given.

<range> can be given in three ways:

<start_value>:<end_value>

or

<start_value>:<end_value> :: <step_value>

or

<range>

where <range> has the type RANGE.

In the to first cases <loop_var> can have the type INTEGER or DECIMAL. If <range> has the type RANGE then <loop_var> can also have type STRING.

When <step_value> is omitted, it is by default put to 1.

<start_value>, <end_value> and <step_value> have the type DECIMAL.

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