Note on negative integer constants

Using a negative integer constant may cause a problem like the following: For example,

for i -10 0

causes the syntax error, because the second parameter is regarded as "i-10" instead of "i". To avoid this problem, take one of the following solutions:

  1. Put "0" before "-".
    for i 0-10 0
  2. Assign the negative constant to a variable.
    A = -10
    for i A 0