The standard J way to pass data to a verb is
'a b c' =. y
One problem is that this requires you to keep track of the order of
the arguments, and if you add an argument you need to re-write in 2
places: the call and in the verb. Has anyone come up with a way to
pass equality-separated strings (eg, ('a=2';'b=5') or maybe for us
('a=.2';b=.5'))? One way that I think would work is to use packing,
but I think that requires you to first set the values of the
arguments, and then pack them, since the right arg for pack is a set
of names, not names and their values.
Any suggestions?
------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
[EMAIL PROTECTED]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm