Welcome to the Creatures Wiki! Log in and join the community.
GOTO
Revision as of 22:27, 24 January 2022 by ScoobyGambit (talk | contribs) (Created page with "GOTO is a C3 CAOS Command to do with flow (CAOS). ==Syntax== GOTO (command) destination (label) Don't use this command. It jumps directly to a label defined by [[SUBR]...")
GOTO is a C3 CAOS Command to do with flow.
Syntax[edit]
GOTO (command) destination (label)
Don't use this command. It jumps directly to a label defined by SUBR. This command is only here because it is used implicitly by DOIF blocks. This is a really dangerous command to use manually, because if you jump out of a block of code (eg a LOOP...EVER block), the stack frame will no longer be correct, and the script will most likely crash. Don't use it! See SUBR.
Examples[edit]
It is unused in the C3 bootstrap.