<img src="https://dl.dropboxusercontent.com/u/1685424/textbox.JPG" border="0" />
I want the text box to show the number contained in the variable.
The top line doesnt work but the second one does
Drop the quotes on the variable
Variable1 instead of "Variable1"
Only strings (of text) get quotes :)
you should do > set text to str(Variable1)
your var is a number and set text expects a string
also if you use a var, you shouldn't but quotes around it ""
edit: ow i guess you don't even need the str()
Develop games in your browser. Powerful, performant & highly capable.
thanks. It does need the str(Variable1) as the textbox is set to a number type.