Report Bugs Here

Moderator: Mmiscool

User avatar
By luc VdV
#38782
Code: Select alllet test = 0
button "test" [do_something]
print "test"
print test
wait

[do_something]
end


the button should use the string "test" but it uses the value of the var test.
it also prints 2 times 0 to the terminal.
It seems the quotes are ignored by the interpreter.
User avatar
By viscomjim
#38987 Mike, could you explain this a bit more? Should we use the @ for all variables, string, numbers, etc. or just numbers? What does this actually do in this case?