Thanks guys, I flicked through the FAQ...must have missed it
*face palm*
I have a text box that asks the user for a number, then I have a line of text that changes and adds 10 to that number, but I can't add 10 to a string. Is there a way of asking for only an integer?
Replace the "+" with "&". "This is a number "&global('varNumber') That'll work.
Replace the "+" with "&".
"This is a number "&global('varNumber')
That'll work.
Thanks that works,
And welcome to the forums!
Thanks
Develop games in your browser. Powerful, performant & highly capable.
Hey, I was just wondering, how do you write an integer variable into a text object with a string e.g.
"This is a number"+global('varNumber')
It just displays the string...
Member since 21 Oct, 2010