HP 3000 Manuals

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


HP DeskManager Customization

&EXIT 

Syntax 

&EXIT [condition]

where:

condition             boolean number

Description 

&EXIT terminates a script cleanly.  If the condition parameter is
specified, the script only terminates when that condition is true.  This
command can be used anywhere in a script.

Example 

     &EXIT <NOYES <PROMPT "Press 'Y' to exit " "" 1>>

The user is prompted with Press 'Y' to exit.  If the user does not reply
'Y' the script will continue.



MPE/iX 5.0 Documentation