GOTO Keyword π‘ BETA
GOTO is not a registered BASIC keyword.
What it does
The closed catalog in botserver/src/basic/keywords/mod.rs has no GOTO, and keyword_reference.rs states that control flow uses IF, FOR EACH, WHILE, SWITCH and ON instead. Scripts that emit GOTO will not compile.
Use instead
Use ON EVENT with a named event, or one of the structured control-flow forms: IF β¦ THEN β¦ ELSE β¦ END IF, FOR EACH β¦ NEXT, WHILE β¦ WEND, SWITCH β¦ CASE β¦ END SWITCH.
Limits
- No registration exists, so no Cargo feature enables this keyword.
- No source claim for
GOTOexists in the registration sites; it is removed rather than softened.