Suspends execution of Genstat to carry out commands in the operating system; this directive may not be available on some computers.
||Commands for the operating system; default: prompt for commands (interactive mode only)|
||Whether to continue execution of Genstat without waiting for commands to complete (
||Whether to minimize the console window (
If you run the command
SUSPEND (with no options) in Genstat for Windows, a command window will open, in which you can enter commands in the usual way. You can return to Genstat by closing the window (e.g. by typing
You can use the
SYSTEM option to specify the commands to run in the operating system. By default, Genstat then pauses while the commands run, and continues after they finish. This provides a convenient way to run an external program. For example, it is used by the
_CDCALL procedure, included with
CDNBLOCKDESIGN, to run the CycDesigN engine.
CDNBLOCKDESIGN (and other
CDN procedures that use
_CDCALL) use the
OPEN directive to open a file to contain the data for the engine, and the
CHANNEL option set to the filename) to form its contents.
TXCONSTRUCT to construct the command for
SUSPEND. The CycDesigN engine writes its output to another file, which can be read afterwards by
CDNBLOCKDESIGN (or the other
You can set option
CONTINUE=yes if the operating-system commands do not need to run before your subsequent Genstat commands. For example, you might simply want to post a message to say that your Genstat run is executing. You can set option
MINIMIZE=yes to minimize the console window in which the comands run.
Note, however, that
SUSPEND may not be available in all implementations of Genstat.