NEXT ends a FOR...NEXT loop.
Syntax
FOR variable=start_value TO end_value [STEP step_value]
...
NEXT
Parameters
variable
: name of the variable. Only local variables are allowed, no global variables.
start_value
(decimal): initial value of the variable
end_value
(decimal): value, till which the loop is executed. Before a loop is started, it is checked, whether end_value
is reached.
step_value
(decimal): value by which start_value
is increased with every cycle of the loop. If not specified, start_value
is increased by 1. step_value
can be negative also. A change of step_value
inside the loop is ignored.
Remarks
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |