Difference between revisions of "Manuals/calci/FORXX"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with " 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...")
 
(No difference)

Latest revision as of 19:42, 4 September 2024

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.