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:
for i 5 0-1
for i 5 (-1)
A = -1
for i 5 A