I don't expect there to be any complaint different than if you ran these lines 
in console.

By the time adv sees its parameters, C has been defined, and so no error, 
unless there was a recent optimization that breaks this.



________________________________
From: Xiao-Yong Jin <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Friday, April 21, 2017 8:37 PM
Subject: [Jprogramming] how do you pass a verb with a named object local to    
an adverb?



In an explicit definition of a verb, if I have, for example,

f=:3 :0

  C=.conew'SomeClass'

  verbInClass__C adv y

)


The anonymous verb created by 'verbInClass__C adv' is going to complain about 
the unknown C.

How do you actually pass the 'verbInClass__C' in this case?


----------------------------------------------------------------------

For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to