I do something like this now using the first method you propose: I set a global flag. In the script, I check for the existence of this flag and set it (as a local variable) to a default value if it isn't defined. I don't think it's that yukky.
-- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
