Re: How the heck do you get records to work?
Re: How the heck do you get records to work?
- Subject: Re: How the heck do you get records to work?
- From: BJ Terry <email@hidden>
- Date: Thu, 22 Jan 2004 16:34:16 -0800
On Jan 22, 2004, at 2:31 PM, Kurt Godden wrote:
I'm sure this can be done, but the AppleScript reference manual
doesn't explain how, nor can I find it in "Applescript in a Nutshell".
Ironically, it can't be done, not in any way that's actually worth
using. The only way to do something like that is to make record strings
and "load script" it. I could give a more thorough explanation, but the
short of it is, you probably wouldn't want to implement anything with
records. The canned suggestions are to use a list of pairs, i.e.
{{"one", 1},{"two", 2},{"three", 3}} , or 2 parallel lists, which give
you more flexibility, but still isn't as convenient as a record. Here's
a relevant recent post from the archives:
http://lists.apple.com/mhonarc/applescript-users/msg46851.html
BJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.