Size: 942
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 5: | Line 5: |
Allows you to stop a script at that line, so further processing of lines will not take place. Functions exactly the same as [[End]]. | 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.. |
Line 8: | Line 9: |
ifgoto (10 > 11) stopTest | // 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." |
Line 10: | Line 21: |
label stopTest echo "This line will never show up because 10 is not greater than 11, and the 'stop' above will stop the script" |
... ... |
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 ... ...