Hoping someone can help me out on what seems to be a simple problem.
I'm making a simple math game for kids and want to have a problem display and the answer in a random location. I figured it would be as easy as doing
question text string:
int(random(0,20))&"+"&int(random(0,20))
then a correct answer text string
int(question.TEXT)
Question displays fine but the answer only shows the first integer. How can I convert the entire string so that it gives the result?
I thought about making two sets of variables which could be put together in the question and then added together for the answer but this seems like it would become overly complicated as I start adding levels with other operands, carrying and the like.