&FORWARD [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
&FORWARD
Syntax
&FORWARD {label } [condition]
{numlines}
where:
label unquoted string
numlines numeric value in the range 1 to 32767
condition boolean number
Description
&FORWARD specifies a forward jump in a script. Either a label or the
number of lines to jump, (numlines), must be specified. Optionally,
&FORWARD may be controlled by a conditional parameter. If no condition
is given, this causes a jump forward in the script file by the specified
number of lines, or to the next matching label. If a condition is given,
the jump only occurs if the condition is true (1). If the command would
cause a jump past the end of the script file, the script is terminated.
See also: &BACK, &GOTO.
Example
&FORWARD whattype <REF <VAR item>>
This causes a jump forward to the next whattype label if the variable
item references a valid HP Desk item.
MPE/iX 5.0 Documentation