Variable indirection for arrays

Aug 16, 2008
124
0
Hi,

variable indirection is possible via `%[%var]` (see [title]). Is the same possible for array variables? `%[%var][0]` does not work...

Thorsten
 

rconn

Administrator
Staff member
May 14, 2008
11,910
133
No - variable indirection assumes that the result will be an environment variable. (Variable arrays are not stored in the environment.) Not impossible to do in the parser, though not a trivial exercise.

You can request it in the Suggestions Forum if you need it.