SHELL

Purpose:

Temporarily exits to the operating system shell.

Syntax:

SHELL(pause)

pause

-

Optional. An integer, the pause flag:

0:

do not wait for result (default)

1:

pause before returning

Example:

shell(1)

 

pauses and enters the operating system at the current directory level.

Remarks:

To return from the operating system, type:

 

exit

 

Setting pause to 1 is useful if an error occurs while DADiSP attempts to enter the operating system

See SHELLEXECUTE to process a file using a system defined application.

See Also:

DOS, UNIX or VMS macros

RUN

SHELLEXECUTE