home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr cy
- COMMAND NAME»gray«: »%t« HaltScript »ye«
-
- /HALT [{ReturnCode}]
- /cw
- Stops all script processing and returns »cy«{ReturnCode}»#« to the
- operating system. If »cy«{ReturnCode}»#« is not entered, »%t«/HALT»#« will
- return the code set by the last »%t«/RETURNCODE»#« command. If no
- code is set, the default is »ye«ZERO»#«.
-
- This code can be interrogated by the DOS »gr«ERRORLEVEL»#« "if"
- parameter. See the »%t«ReturnCode»#« (»%t«/RETURNCODE»#«) command for
- an example.
-
- Because »%t«HaltScript»#« would terminate this tutorial, it is not
- included as a demonstration. However, »ye«HALTTEST.SCR»#« and
- »ye«HALT.BAT»#« are provided if you wish to try this command.
- Execute »ye«HALT.BAT»#« from the DOS command prompt to see the
- result.
-
- /ENDEXEC CLEAR