Manuals/calci/FORXX

From ZCubes Wiki
Jump to navigation Jump to search

FORXX, FOR, etc. are used internally to do looping structures such as 1..10 etc. with a function applied to the array.

Notes

In Loops (such as 1..7),

throw("EXIT")

or

throw("BREAK")

will break the FOR loop.

throw("CONTINUE")

will continue the FOR loop call.

In the code above, the throw("EXIT") is used to go break the loop as the loop has reached 6174 potentially.