FOR <var> = <expr1> TO <expr2> [STEP <expr3>]


Works as you would expect, but the STEP clause is not allowed, and NEXT takes no parameters. Eg:

FOR t = 1 TO 10
  [some processing&ldots;]
NEXT

 

See Also: Flow Control


Language Reference  Table Of Contents