Hello,

Recently in another post we talked briefly about dynamic variables. Riamus suggested checking for a dynamic variable using $eval vs. [ ].

$($+(%,reason.,$2),2) is the example he gave and would find %reason.whatever2is and return the value.

I have tried to use this sort of method before, but the problem I had was setting the variables in the first place. They didn't always work out right.

So I was wondering, using this method to check for a variable, how would you set it? Thanks.

$($+(%,reason.,$2),2)