Size: 1144
Comment:
|
← Revision 6 as of 2017-01-18 13:59:22 ⇥
Size: 1139
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
Prior to NeatBot version 3165T, the Stop command functioned exactly the same as [[End]] and would actually "stop" the script.. | Prior to !NeatBot version 3165T, the Stop command functioned exactly the same as [[End]] and would actually "stop" the script.. |
Line 12: | Line 12: |
if $error goto label stop | if $error goto stop |
Usage: |
stop |
Example: |
stop |
Allows you to pause a script at that line, so you can manually resume it afterward. Prior to NeatBot version 3165T, the Stop command functioned exactly the same as End and would actually "stop" the script..
// Example way to use Stop in a script ... ... if $error goto stop echo "We have no errors and will continue." ... ... end label stop echo "We had an error. The script will now pause so you can review the error. Please manually resume after reviewing." stop ... ...