Optional instruction in a FOR / NEXT loop and WHILE loop to define the actions to occur in the loop.
Syntax:
1 2 |
DO |
Example:
1 2 3 4 5 6 7 8 9 10 |
Value = 0 FOR i = 1 TO 20 DO //Do the actions below IF (Close[i] < Open[i]) THEN Value = Value + 1 ELSE BREAK ENDIF NEXT RETURN Value |