Im sitting whidt this code from the tutorial:|
= button Print(
"Do you want to click Yes or No?"
#title "Click What?"
#icon 0 0 0
#button " Yes " 1
#button " No " 0
(if(== button 1)
Print("You clicked YES")
Print("You clicked NO")
BUT it aint work!
It comes whitd followring errors:
Undefined Symbol "var"
|doan sephim||where did you put (var button)?|
Print("You are in your beed room")
yeah...thats the problem - define the variable like this:|
(method (handleEvent pEvent)
then put the (if(Said('blah'))
= button Print("Blah")
There is a new problem!!
Its come again and again how do i stop it?
i put this into a game and it didnt keep popping up: what code did you use and does it image what ive got here?|
hmm i fixed the problem by going to another room.|