Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: About zsh-users 8489 (exception handling)



On Sep 28, 10:43am, DervishD wrote:
}
} > I think EXCEPTION should also be declared with "typeset -g"
} 
}     But the function will work correctly even without "typeset -g",
} wouldn't it?

Yes.  It's just making it obvious that a "local" was not forgotten.

} Wouldn't be needed "typeset -g" in "catch" too for the
} CAUGHT parameter?

I'd probably put one there, yes.  I hadn't looked again at "catch".



Messages sorted by: Reverse Date, Date, Thread, Author