there is also

'a'~

5

name~

5

Which is a more direct "indirect" referencing.

The new AV(V) trains also simplify this approach in a tacit expression



'a' (~ + ])

5 + ]



On Sunday, February 27, 2022, 05:09:30 a.m. EST, Danil Osipchuk 
<danil.osipc...@gmail.com> wrote: 





Elijah, argh, many thanks - that is it
I had a vague memory there was something but just couldn't come up on my own

Danil

вс, 27 февр. 2022 г. в 13:02, Elijah Stone <elro...@elronnd.net>:

> Something like this, perhaps?
>
>    a=. 5
>    b=. 6
>    name=. 'a'
>    ". name
> 5
>    name=. 'b'
>    ". name
> 6
>
>  -E
>
> On Sun, 27 Feb 2022, Danil Osipchuk wrote:
>
> > Dear all
> >
> > Is there a way to get var contents indirectly -- addressing it by the
> name
> > stored in another var (similar to the indirect assignment )?
> >
> > regards,
> >  Danil
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm

> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
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