21.12.2011, 11:48
I was wondering if there is a way to create a linkage.
while( i = x)
if(pVar[i][Var. 'x' . ]) return code.
Basically we have an array of
pVar[value][Var1] all the way to pVar[value][Var100]
and I want to input x into the final 'pVar[value][Varx]'.
So if x = 3, then we would do the if statement with 'pVar[value][Var3]'.
I hope I made sense, is there any way we can achieve this with pawno?
while( i = x)
if(pVar[i][Var. 'x' . ]) return code.
Basically we have an array of
pVar[value][Var1] all the way to pVar[value][Var100]
and I want to input x into the final 'pVar[value][Varx]'.
So if x = 3, then we would do the if statement with 'pVar[value][Var3]'.
I hope I made sense, is there any way we can achieve this with pawno?