Name var " dynamic "

This is possible

:global prb1 123;
:local a 1; :put $prb.$a;

I’m doing a loop in which it traverses several variables but I can not dynamically create the names of those variables with the loop counter



I thank the possible help they can give me

Dynamic variable names are not possible.

thanks friend for your answer

:global prb1 123
:global prb2 1234
:global prb3 12345
:local a1 1;
:local a2 2;
:local a3 3;
:global t

:execute script=":global t \$prb$a1"
:put $t

:execute script=":global t \$prb$a2"
:put $t

:execute script=":global t \$prb$a3"
:put $t

Excellent