Welcome to the Creatures Wiki! Log in and join the community.
GOTO
Jump to navigation
Jump to search
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.