I am trying to call a verb within the argument list of another verb. For
instance

 

MAIN =: 4 : 0 

VERB =. X`: 6

data =. y

VERB data

)

 

I have a number of VERB s that I would like to insert into the MAIN
function. In other words, different outside verbs use the same function name
inside the function MAIN. This allows MAIN to be flexible to use a number of
these outside verbs. I. have tried VERB_1`'' MAIN data but I get a syntax
error. I tried MAIN being monadic and selecting VERB_1 from a boxed and
unboxed lists (data; VERB_1`'') all to no avail. When I do these outside of
a function MAIN, the extraction and execution with the extracted verb works.
So there is something about putting this functionality in a function that is
causing issues. Any help would be appreciated.

 

Bob

 

 

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

Reply via email to