Accessing the Operating System [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
Accessing the Operating System
The operating system can be accessed from HP Business BASIC/XL with the
SYSTEM, SYSTEMRUN, or EXIT commands as follows:
SYSTEM Executes an operating system command, a UDC, a program,
or a command file from HP Business BASIC/XL (and returns
to HP Business BASIC/XL). You can also type
:
instead of SYSTEM.
SYSTEMRUN Runs another program from HP Business BASIC/XL (and
returns to HP Business BASIC/XL).
EXIT Exits HP Business BASIC/XL (and does not return).
The SYSTEM and SYSTEMRUN commands are executable from within a program,
and are discussed in chapter 4.
EXIT Command
The EXIT command exits HP Business BASIC/XL. It is a command-only
statement and cannot appear in a program.
Syntax
{EXIT [BASIC]}
{:: }
Typing EXIT after changing your program without saving the complete
program will result in the following question:
UnSAVEd source modifications will be lost. Do you really want to EXIT? Y
To exit, press RETURN or Y RETURN. To return to HP Business BASIC/XL,
press any other character key followed by RETURN. Function keys and other
special keys will not return you to HP Business BASIC/XL.
The :: form of the EXIT command does not check for source modifications
before exiting.
Example
EXIT
::
MPE/iX 5.0 Documentation