User Tools

Site Tools


en:goto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:goto [2016/08/13 12:38]
admin
en:goto [2020/02/28 10:46]
Line 1: Line 1:
-===== Goto (Statement) ===== 
-==== Format ==== 
-goto [[labelprogramsyntax|label]] 
-==== Description ==== 
-Jumps to the specified label. 
  
-==== Example ==== 
-<code> 
-print "I"; 
-goto skipit 
-print " don't"; 
-skipit: # 
-print " want cookies." 
-</code> 
-will print 
-<code> 
-I want cookies. 
-</code> 
- 
-==== See Also ==== 
-{{page>en:start#Program Control&noheader}} 
- 
-==== Notes ==== 
-As of version 0.9.9.2 [[goto|Goto]], [[gosubreturn|Gosub]], and labels can not be used in [[Function|Function]] and [[Subroutine|Subroutine]] definitions. 
en/goto.txt ยท Last modified: 2020/02/28 10:46 (external edit)