[Jprogramming] indirect var reading
Elijah Stone
elronnd at elronnd.net
Sun Feb 27 10:02:36 UTC 2022
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
More information about the Programming
mailing list