Roger Hui wrote: > Control errors usually mean badly formed control > structures and should be caught at the time an > object is defined. > > I don't want to have to provide a result of 123 > for the following verb: > > 3 : 0 '' > try. > if. end. > catch. > 123 > end. > ) > |control error > | [1] if. end. > | 3 :0'' >
I can see your argument now, but I'm not too convinced. The example you quoted is a syntax error that can be caught by format script or when loading script. The case that I reported cannot be checked until actual execution. If the name of error be changed to "T block error", is there any chance to make it caught by the try block? -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
