The problem is occuring because the script is being run via the explicit verb "load". Change to 0!:0<'/Users/brian/j601/user/cluster/testload.ijs' and no error occurs. "n" is undefined because "load" is a verb, not a conjunction.
But the Dictionary section E. "Parsing and Execution" states "The executions in the stack are confined to the first four elements only, and eligibility for execution is determined only by the class of each element (noun, verb, etc., an unassigned name being treated as a verb), as prescribed in the following parse table." Maybe the name "n" is assigned but has a value of "undefined"??? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Schott Sent: Saturday, November 18, 2006 10:29 AM To: General forum Subject: [Jgeneral] problem with verb 'n' in load Consider the simple file attached below and the error it throws. The error is not thrown if the verb name n is changed to nn . And the error is not thrown if the lines are entered directly into jconsole. load'/Users/brian/j601/user/cluster/testload.ijs' |value error: n | avg=:sum% n |[-3] /Users/brian/j601/user/cluster/testload.ijs (9!:12;9!:14)'' +-+---------------------+ |5|j601/2006-09-04/09:20| +-+---------------------+ ************simple file listed below*************** NB. testload.ijs NB. 11/18/6 avg =: sum%n sum =: +/ n =: # (B=) <----------my "sig" Brian Schott Atlanta, GA, USA schott DOT bee are eye eh en AT gee em ae eye el DOT com http://schott.selfip.net/~brian/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
