Pascal, hi
Possible use of ~ in this area is not something I was aware of (now has
found it under evoke definition of the old vocabulary), thanks.
I think "Do" suits me better -- I'm using it  as a helper to sort/filter
several columns stored in vars at once, not sure evoke will work here, see
below (BTW, allVars below is good for me, but I suspect it may be written
as a single tacit adverb but digging there hurts my brain too much)

'allVars' man 'x u allVars y: apply u and box results for each var name in
string y, ex: 0 1 1 #allVars ''a b'' [ ''a b'' =: i. 2 3 /misc.ijs/'

allVars =: 1 : 0

([:u ".)&.> cut y

:

(x u ".)&.> cut y

)

вс, 27 февр. 2022 г. в 14:09, 'Pascal Jasmin' via Programming <
programm...@jsoftware.com>:

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

Reply via email to