Record/List Coercion
Record/List Coercion
- Subject: Record/List Coercion
- From: "Tom Chen" <email@hidden>
- Date: Tue, 29 Apr 2008 17:41:17 -0700
I am trying to use a loop to go through a record. I don't know of any
method to do this without coercing the record to a list. The problem
is that, when a record is coerced to a list, it loses all its labels
(which I need to access what these variables int he record reference
to). I have a few questions:
1) Is it possible to loop through a record systematically?
2) Is there a way to preserve ordering of a record coerced to a list
(currently, when I coerce a record to a list, the list has a different
ordering than the record)
A solution to #1 would be the best and most direct approach. If there
is a way to do #2, then I could reference the things in my record via
the ordering in the list.
Thanks,
--Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden