Note also that +/ %# 2 3 4 is not equivalent to executing the verb +/%# on the argument 2 3 4.
You need a parenthesis around the verb, to get the right "mean"ing. Thanks, -- Raul On Tue, Apr 14, 2015 at 4:11 AM, Jon Hough <[email protected]> wrote: > I have a couple of questions: > 1. Is it possible to convert a verb, e.g. +/%# , to a string?": '+/%# 2 3 4' > executes a stringed verb with an argument. But how would I convert a verb to > a string in the first place? > Also, I discovered the eval verb > > > eval=: 1 : 0 > > ". 'w =. ' , u > > (ar < 'w') ab > > ) > > > Does this have an inverse? > > 2. If I have two verbs (or conjunctions, adverbs for that matter), can I not > pass them around in a list? > e.g. in other languages, like C# I can put functions into a list > (List<Action> for example). > I searched JforC and the J website and couldn't find any way to do this. > Thanks Jon > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
