next up previous contents
Next: Returning from a macro Up: Miscellaneous commands Previous: Getting help

Error tolerance

 

stop Do we stop command file execution if we encounter errors?
-off | do not stop execution
-on stop execution at first encountered error (default)

This command can be used to make NDA tolerant to insignificant errors while executing command scripts. If stop is set to off, command file execution continues even if errors are encountered.

Without any parameters stop halts the execution of current command file.

Example: Disable stop on errors due to an old-fashioned script that does not perform all the needed verifications.

@echo -off
stop -off
rm -ref clsel    # if should be used to check whether clsel
                 # exists or not
select clsel -cl cl1.neuron_$1
...
stop -on


next up previous contents
Next: Returning from a macro Up: Miscellaneous commands Previous: Getting help

Anssi Lensu
Tue Jul 23 11:58:18 EET DST 2002