Let>theIndex=4
Let>Person%theIndex%=1
//is there a way to reference the variable Person4 by the theIndex variable as in:
//MessageModal>Person%theIndex%=%Person%theIndex%%
//The %'s inside %'s does not work, but is there way to reference variable with a variable in the name?
Thank you,
Gerry
Variable with a Variable in the Name
Moderators: Dorian (MJT support), JRL
Re: Variable with a Variable in the Name
Only a few functions can deal with an array variable so its always best to set the array variable value to a non-array variable before use
Code: Select all
Let>theIndex=4
Let>Person%theIndex%=1
Let>value=Person%theIndex%
MessageModal>value
Re: Variable with a Variable in the Name
Thank you JRL. Looks like that should work.
Gerry
Gerry