I have 4 instance variables for an object, the names of the variables are for example var0, var1, var2 and var3.
I wan't to check if one of the variables is true or false in a single comaprision block. However, in order to know which one of the instance variables I need to check I have to use this other number that determines it (in my case it's the 'loopindex'.
So, I am trying to construct the variable as a string object.var&loopindex, and then use it to check. But, I don't think I know how to do it or whether it's even possible...