| 1. |
Solve : More for loop troubles? |
|
Answer» So I was writing a game for fun, and I ran into a for loop problem where it isn't saving %%G into a veriable that I can call. Nor is it reading the full file. Any Idea's? Expantion That's not how you spell 'expansion' ... There is ALSO an issue where %%G is the outer loop VARIABLE and you are reusing %%G in the inner loops. It's wiser to use %%H %%J %%K etc in the inner loops.There is yet another issue: you can't have labels inside loops. As far as the command interpreter is concerned, the INTERIOR of a loop is one long line, and you cannot have a label in a line of code. This is one good reason why the undocumented, unsupported practice of using a double colon to start comment lines is frowned upon. It will break a loop. And 'vendor' has only one 'e'. |
|