|
RE: Multiple trap handlers in a function: variable scoping issues Er, I think I solved it. I change this:-
. Main
to this:-
& Main
Then variables created by the function are at function scope.
I'd still be interested to know if I've taken the right approach to having
multiple trap handlers in a function. Thanks!
Andrew |