Goto: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= goto =
     
Usage: goto ''label''
Usage: goto ''label''
       go to ''label''
       go to ''label''

Latest revision as of 19:12, 28 January 2009

goto

Usage: goto label

      go to label

The "goto" statement continues execution of a macro at the first line that begins with the label. Jumps into loops (do ... end do) or conditionally executed statements (if ... else ... end if) are not allowed and can lead to unpredictable results. A label may consist of letters, digits, and underscore characters "_". A label must be followed by a colon.