System Command
Obsolete
This command is replaced by the Abort command.
Purpose
To terminate execution of the running DataFlex program, of DataFlex itself, and return execution to the operating system.
Syntax
system
What It Does
The system command closes any open database files and returns execution to the operating system.
system
To return to DataFlex after execution of a system command, it is necessary to execute FLEX or DFRUN from the operating system.
If the DataFlex program running was called from another DataFlex program by a chain wait command, system returns execution to the calling program, rather than to the operating system.
Notes
-
systemis similar toabort, except thatabortexits to the menu (if any) from which the program was executed, whilesystemalways exits directly to the operating system. -
If you are running DataFlex under a batch file,
systemcauses the next command in the batch file to execute, as any exit to and return from the operating system does. -
runprogramwill pass execution from DataFlex to any other program named in therunprogramcommand present on the disk. -
If the DataFlex program was called from another DataFlex program by a chain wait command,
systemreturns execution to the calling program, rather than to the operating system.