| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I thought both values should be "Child Value", since the Child's property overrides the Parent's property. Silly me.
What am I missing?
script theParent
property zzz : "Parent Value"
on send()
return zzz
end send
end script
on makechild()
script theChild
property parent : theParent
property zzz : "Child Value"
return (theChild)
end script
end makechild
set theChild to makechild()
{theChild's zzz, theChild's send()}
--> {"Child Value", "Parent Value"}
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.