Home > lang > goto 
 en fr de es it nl pl pt pt_BR mk sq hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
GOTO
GOTO Label

Jump to a label declared elsewhere in the function.

GOTO and labels cannot be used to enter a control structure. This is forbidden, even if the variables are preset.

X = 18
GOTO LOOP3   ' forbidden

FOR X = 20 TO -2 STEP -2

LOOP3:
  PRINT "Loop2 "; iX

NEXT

See also

Miscellaneous Control Structures, Labels