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 >
Text File  |  1991-12-26  |  1KB  |  35 lines

  1. A script may be executed in three possible ways:
  2.  
  3.    - by direct invocation as a command line parameter to
  4.      Scripta;
  5.  
  6.    - by Ctrl/s from the Modem Command Mode screen;
  7.  
  8.    - by a call of the SCRIPT command from within another
  9.      script.
  10.  
  11. These are each known as invocation points but the first two are
  12. known as top-level invocation points.
  13.  
  14. Execution of a script may be terminated either because the last
  15. line of the script has been processed or because one of the
  16. commands QUIT, EXIT or STOP has been executed.
  17.  
  18. When the last line of a script has been processed, control
  19. returns to the invocation point, i.e., DOS, Command Mode or the
  20. calling script.
  21.  
  22. QUIT causes termination of the top-level script currently
  23. executing. In other words, control returns immediately to the
  24. top level invocation point, either DOS or Command Mode, even if
  25. the script containing the QUIT command is a sub-script of one or
  26. more other scripts.
  27.  
  28. The STOP command causes the script processor to act as though
  29. the last line of the script had been processed.
  30.  
  31. The EXIT command expects to have a calling script to return to.
  32. If there is one, control is returned to it; if there isn't one,
  33. EXIT issues an error message and then acts as though the last
  34. line of the script had been processed.
  35.