• 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
coerce lists to records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coerce lists to records


  • Subject: coerce lists to records
  • From: Patrick Wynne <email@hidden>
  • Date: Thu, 16 Nov 2000 22:24:35 -0800 (PST)

Hi all,

I have a feeling that this isn't possible, but is there any way to
coerce a list of strings into a record, with the odd-numbered strings
as the record labels?

Example:

{"firstname", "Robert", "lastname", "Robertson"}
becomes
{firstname: "Robert", lastname: "Robertson"}

I would prefer to do this without using an osax, but I will if I have
to.

Thanks,

Patrick Wynne
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/


  • Follow-Ups:
    • Re: coerce lists to records
      • From: Allen Watson <email@hidden>
    • Re: coerce lists to records
      • From: Yosemite <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: QuarkXpress current page number
  • Previous by thread: Re: QuarkXpress current page number
  • Next by thread: Re: coerce lists to records
  • Index(es):
    • Date
    • Thread