Well, I'm Confused...
Well, I'm Confused...
- Subject: Well, I'm Confused...
- From: <email@hidden>
- Date: Tue, 27 Apr 2004 15:00:57 -0400
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"}
Steve
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.