User Tools

Site Tools


en:labelprogramsyntax

Differences

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

Link to this comparison view

en:labelprogramsyntax [2016/08/13 11:35] (current)
admin created
Line 1: Line 1:
 +=== Label ===
 +
 +A line may optional begin with a label followed without a space with a colon to be used as a destination of a [[goto|goto]],​ [[gosub|gosub]],​ or [[onerror|onerror]].
 +
 +<​code>​
 +print "​before"​
 +gosub display
 +print "​after"​
 +end
 +
 +display: ​ print "in gosub"
 +return
 +</​code>​
 +
  
en/labelprogramsyntax.txt ยท Last modified: 2016/08/13 11:35 by admin