![]() |
|
} |
Longname: | } | ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Released: | not available | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Created: | not available | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: | { : <?}> <?{> <?:> |
Summary |
The } macro transfers control to the next occurrence of a label, effectively starting the search for the : from the current position in the script. Execution of the script then continues from the next line. |
Example extract |
The simple script below illustrates the use of labels and jump forward and jump backward macros:
|
Syntax
|
name:b
|
name:b |
The target :labels name. Any sequence of characters preceded by a } character. Jump macros must appear on a line by themselves unless they are part of a condition. For more information see ?. |
Label and jump macros are only available within scripts executed with trun. They are only seen by the script processor, not the normal macro processor. The only place where this might cause confusion is in macro files executed with run. |
Example |
In addition to this, jump labels can use variables to provide a type of 'conditional goto', e.g.:
|
Example |
This example illustrates the multiple combined uses of scripting loops labels and jumps in a small script that resets values of a set of variable arrays, (see also Variables).
|
Document created on 08-Feb-2003 (revision 1)