Bezeichnung
Gosub -- call a subroutine / VERALTET
Übersicht
Gosub(label)
Beschreibung
Achtung: Dieser Befehl ist Teil der Hollywood 1.x Ereignisbibliothek. Sie sollten ihn nicht länger verwenden. Bitte benutzen Sie nun Funktionen anstelle von Labels.

This function jumps to the subroutine specified by label. The subroutine can call Return() to return to the point from where it was called.

Eingaben
label
identifier for a label (defined with Label())
Beispiel
a$="Hello World"
Gosub(PRINTTEXT)
WaitLeftMouse
End

Label(PRINTTEXT)
Print(a$)
Return
The above code prints the text "Hello World" on the screen and waits for the left mouse. Then quits.

Navigation zeigen