(Common to Power Mate i–D and –H)
13. CUSTOM MACRO
When DO m is specified without specifying the WHILE statement, an
infinite loop ranging from DO to END is produced.
When a branch to the sequence number specified in a GOTO statement
occurs, the sequence number is searched for. For this reason, processing
in the reverse direction takes a longer time than processing in the forward
direction. Using the WHILE statement for repetition reduces processing
In a conditional expression that uses EQ or NE, a null value and zero have
different effects. In other types of conditional expressions, a null value
is regarded as zero.
The sample program below finds the total of numbers 1 to 10.
WHILE[#2 LE 10]DO 1;