HP 3000 Manuals

&BACK [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

&BACK 

Syntax 

&BACK {label   } [condition]
      {numlines}
where:

label                 unquoted string
numlines              numeric value in the range 1 to 32767
condition             boolean number

Description 

&BACK specifies a backwards jump in a script, by either specifying a
label or the number of lines to jump.  Optionally, &BACK may be
controlled by a conditional parameter.  If the result of the condition is
true (1) then the jump will be executed, otherwise the jump will not be
executed (value 0).  Jumping back to a label causes a scan back up the
script file to the first occurrence of the label, and from there the
script file is continued.  If the command would cause a jump past the
beginning of the script file, the script file is terminated.

See also:  &FORWARD, &GOTO.

Example 

     &BACK 6 <YESNO <VAR ureply>

In this case, the script will move back 6 lines if the variable ureply 
does not contain a value of no.



MPE/iX 5.0 Documentation