! - Execute system command.

Syntax:

!command

Examples:

!access cc /cat

Description:

! command sends the rest of the line to the system for execution. FRED issues a DRL CALLSS and pushes the callss stack down another level. When the system command finishes, control returns to FRED. FRED prints a ! when control returns, provided that the original ! command was not executed from a buffer.

! sets the condition register TRUE if the call terminates normally. If the call is terminated by pressing BREAK or ATTN, ! sets the condition register FALSE.

! sets the count register to the status value returned by the command. The format of the value in the count register will match the format of the value returned by the B "system" function. For further information, see "expl b lib system". ! does not change ".".

Copyright © 1998, Thinkage Ltd.