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:
for i 0-10 0
A = -10
for i A 0