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

Reply via email to