• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
echo email@hidden@nl | tr a-z@. p-za-o.@



 _______________________________________________
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

References: 
 >Is AppleScript's OOP 'prototype-based' or 'class-based'? (From: Brennan <email@hidden>)
 >Re: Is AppleScript's OOP 'prototype-based' or 'class-based'? (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
  • Next by Date: Re: what could make AS easier (was: AppleScript)
  • Previous by thread: Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
  • Next by thread: Re: Is AppleScript's OOP 'prototype-based' or 'class-based'?
  • Index(es):
    • Date
    • Thread