coerce lists to records
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/