Forum Discussion
EnTerr
11 years agoRoku Guru
"Komag" wrote:
Is your code spaced out like this? I don't recognize the "next"s - they replace END FOR? Are they more useful in some way, such as helping with some version of EXIT FOR or other option?
No, i actually tested, then copyied that from the debug console - there one has to type all loops on the same line. This way you can just paste these 3 lines in console and see the result.
Otherwise i would have done it like you showed (sans capitalization of the keywords). next is exactly the same as end for. Traditionally in BASICs, for's are closed with next, B/S has in addition the "end X" variants. When i type in editor, i use end for... but i have no strong feeling one way or the other.