Main sections
SUB
SUB name:
...
ENDSUB
...
GOSUB name
SUB ist eine FUNCTION ohne Parameter und Rückgabewert.
// GOSUB subcode; <-> RETURN;
a$="-"
GOSUB Setup
PRINT a$, 0, 0
SHOWSCREEN
MOUSEWAIT
// Ende des Hauptprogramms
// Ab hier nur noch SUBs
// Ab hier kein Code ausserhalb von SUB und ENDSUB !!
SUB Setup:
a$="Setup_Complete"
RETURN // Zurück zum GOSUB
a$="Das erscheint nie"
ENDSUB