Difference between revisions of "Label"
From Wiki
m |
|||
Line 1: | Line 1: | ||
− | {{body|label|This is a marked spot for a [[goto]] command. The label is created by using a word (not a command) and suffixing it with a colon. | + | {{body|label|This is a marked spot for a [[goto]] command. The label is created by using a word (not a command) and suffixing it with a colon.}} |
− | <pre>mylabel:</pre> | + | === Example 1 === |
+ | <pre>mylabel:</pre> | ||
− | === Example === | + | === Example 2 === |
<pre> | <pre> | ||
mainloop: | mainloop: |
Latest revision as of 11:10, 3 August 2007
Synopsis
label
Description
This is a marked spot for a goto command. The label is created by using a word (not a command) and suffixing it with a colon.
Example 1
mylabel:
Example 2
mainloop: gosub dostuff goto mainloop
Related Commands
goto |
See also
Main Page | Documentation |