Bezeichnung
Goto -- jump to a new location / VERALTET
Übersicht
Goto(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 location specified by label. Execution will continue there and it is not possible to get back to the point from where the label was called. If you need this, use the Gosub() command.

Eingaben
label
identifier for a label (defined with Label())
Beispiel
a$="Hello World"
Goto(PRINTTEXT)
WaitLeftMouse         ; this code will never be reached
End                   ; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

Navigation zeigen