• 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
fun with records and keywords
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fun with records and keywords


  • Subject: fun with records and keywords
  • From: has <email@hidden>
  • Date: Thu, 18 Oct 2001 18:46:38 +0100

I found the following oddly amusing (maybe I've been at the computer too
long...?):

set x to {class:string, contents:"test"}

get class of x
--> string

get contents of x
--> "test"

It looks like my properties are overriding the object's own when I query
them. Bizarre. Is that what's expected?

Useful? Safe to use?

has


  • Follow-Ups:
    • Re: fun with records and keywords
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: AppleScript Suite
  • Next by Date: Re: Return character
  • Previous by thread: Error type 10
  • Next by thread: Re: fun with records and keywords
  • Index(es):
    • Date
    • Thread