Nested or Combined Variables?
Hello all.
I was wondering if the following is possible...
So some or all of my 3 OutPutX variables will get loaded up with strings. The problem I’m having is the "$OutPut$0" code above. This of course does not work. Can I nest or combine variables? I can get around this by not using a loop, and just have 3 chunks to potentially load up each OutPutX variable, with a "StrCmp $0 0 End" before each. I would just like to use a loop if I can, I really have 13 OutPutX variables. Thanks.code…
$0 blabla
>Var OutPut1
>Var OutPut2
>Var OutPut3
>;depending on how the script runs, $0 will be 1, 2, or 3.
Loop:
>StrCmp $0 0 End
SrtCpy $OutPut
IntOp$0 $0 - 1
Goto Loop
End
>