Break command halted addition - 01/12/05 03:15 AM
I think it would be great if all resources created in an alias you break out of are freed when you break out of it using the pause/break key (file handles, com objects, etc).
alias testerr { set %~blah1 123 echo -a $gettok(ONLY ONE ARGUMENT) goto end :error unset %~blah1 .signal -n ERROR $+($script, $chr(160), $scriptline, $chr(160), $error, $chr(160), $1-) :end } on *:signal:ERROR:{ echo -a $+($chr(3), $color(notify), * $2-) }
alias testloop { while (1) ! return :error echo -a reached error }