• 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: does property exists in a record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: does property exists in a record


  • Subject: Re: does property exists in a record
  • From: Adam Hinshaw <email@hidden>
  • Date: Sat, 11 Aug 2001 00:33:51 +1000

on 11/08/01 12:14 AM, Paul Skinner at email@hidden wrote:

> I would just look for it. If it's not there then add it.
>
> --begin script
> set x to {hello:"world", goodbye:"cruel world"}
> try
> hello of x
> on error
> set x to x & {hello:"world"}
> end try
> --end script

problem is the property names i will be searching for are not constant.
They come from strings and will vary.

is there a way then to coerce a string to a record property ??

doesn't look like it at the moment.

adam.


  • Follow-Ups:
    • Re: does property exists in a record
      • From: Helmut Fuchs <email@hidden>
References: 
 >Re: does property exists in a record (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: does property exists in a record
  • Next by Date: Re: Folder Actions Part 2 - Sweets & Sour
  • Previous by thread: Re: does property exists in a record
  • Next by thread: Re: does property exists in a record
  • Index(es):
    • Date
    • Thread