• 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
Record/List Coercion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Record/List Coercion
      • From: email@hidden
    • Re: Record/List Coercion
      • From: EBI Aktivitet <email@hidden>
    • Re: Record/List Coercion
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: GUI possibilities
  • Next by Date: Re: View Options
  • Previous by thread: GUI possibilities
  • Next by thread: Re: Record/List Coercion
  • Index(es):
    • Date
    • Thread