Skip to content
Grisgram edited this page Dec 29, 2024 · 6 revisions

Scriptor is structured like a command shell script. Since there are no functions, code blocks, constructors or other advanced control mechanisms, the goto command plays an important role in managing code flow.

Syntax

goto <jump_label>

A goto jumps to a defined Jump Label elsewhere in your script and continues execution there.

if some_bool == false goto skip_over
// do something if some_bool == true

skip_over:
// Execution continues here

Clone this wiki locally