Hi guys,
I have stored several variables as coordinates. Depending on where the user presses the screen, I want to execute a piece of code.
For instance I have "var1x = 250" and "var1y = 300". I have about 40 of these variables.
Later in code when the user presses a certain image, I build a string that creates the variable name. For example "wk_x = var .. wk_num .. x"
When I print wk_x to the terminal, it correctly gives "var1x". How do I make wk_x actually give 250 rather than the string value. Is there a "value" type operator?
Thanks
Adrian