Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
- Subject: Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
- From: Philip Aker <email@hidden>
- Date: Tue, 11 Dec 2007 02:18:47 -0800
On Dec 11, 2007, at 1:28 AM, Philip Aker wrote:
script sj property «class pAll» : {strength:4, dexterity:99, magicSkill:0} end script
set sj's «class pAll» to sj's «class pAll» & {luminosity:2}
Perhaps better written as:
script sj property properties : {pancreas:-1, companies:{"apple", "pixar", "microsoft"}} end script set sj's properties to sj's properties & {iphone:"1-800-sjapple"} sj's properties
Philip Aker
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden