Page 1 of 1

Custom property question

Posted: Fri Feb 26, 2016 5:23 pm
by dunbarx
Always gratifying to know that I need to go to the beginners section now and again.

Why this?

Code: Select all

on mouseUp
   set the xyz of me to "XYZ"
   answer the xyz of me --Good, I get "XYZ"
   put 10 into xyz
   answer the xyz of me --Hmmm...empty
end mouseUp
I was about to act like a big shot in another thread, and say that the contents of the variable xyz has nothing at all to do with a custom property named "xyz". For some reason I checked. For some other reason, I was wrong.

Craig Newman