Note on negative integer constants

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

for i 5 -1

causes the syntax error, because the second parameter is regarded as "5-1" instead of "5" and the third parameter is empty. To avoid this problem, take one of the following solutions:

  1. Put "0" before "-".
    for i 5 0-1
  2. Add parenthese.
    for i 5 (-1)
  3. Assign the negative constant to a variable.
    A = -1
    for i 5 A