> script_z_ erases y in case the script assigns y globally - this would > conflict with the local assignment of y. The same would be true of any > local assignment you create.
Ah, I see. I'll fix that. > > The problem with fixing script to avoid script errors is that they are > then hidden from the user. I would be more inclined to add > this kind of > checking to Format Script (Ctrl+L) (right now, it has no such check). > > I don't see the problem with a lack of trailing ). If you > load a script > whose last definition has a missing trailing ), the > definition seems to > be created correctly. The problem is not trailing ) on the last verb, which works OK nowadays, but with missing ) in other verbs, for example verb1 =: verb define NB. do stuff verb2 =: verb define ) When verb1 runs, it hits the definition and goes into keyboard mode. Particularly bad if verb1 is sys_timer! Henry Rich ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
