On Mon, Apr 20, 2009 at 12:49 PM, Matthew Brand
<[email protected]> wrote:
> If I have a simple class such as:
> coclass 'example'
>
> create =: 3 : ' X =: y'
> destroy =: codestroy
>
> And I make a list of new objects:
> n =.'example' (conew~)"(1 0) i.4
...
> But how can I reconstruct the values of the X's from the list n?

   3 :'X__y'"0 n

Also, consider some alternatives for your expression for n:
   m =:'example' conew"0 1~ i.4
   o =:conew&'example'"0 i.4

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

Reply via email to