home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
COMM
/
SCR104A.ZIP
/
SCRHELP.EXE
/
QUITETC
< prev
next >
Wrap
Text File
|
1991-12-26
|
1KB
|
35 lines
A script may be executed in three possible ways:
- by direct invocation as a command line parameter to
Scripta;
- by Ctrl/s from the Modem Command Mode screen;
- by a call of the SCRIPT command from within another
script.
These are each known as invocation points but the first two are
known as top-level invocation points.
Execution of a script may be terminated either because the last
line of the script has been processed or because one of the
commands QUIT, EXIT or STOP has been executed.
When the last line of a script has been processed, control
returns to the invocation point, i.e., DOS, Command Mode or the
calling script.
QUIT causes termination of the top-level script currently
executing. In other words, control returns immediately to the
top level invocation point, either DOS or Command Mode, even if
the script containing the QUIT command is a sub-script of one or
more other scripts.
The STOP command causes the script processor to act as though
the last line of the script had been processed.
The EXIT command expects to have a calling script to return to.
If there is one, control is returned to it; if there isn't one,
EXIT issues an error message and then acts as though the last
line of the script had been processed.