• 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
Labels of a Record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Labels of a Record


  • Subject: Labels of a Record
  • From: email@hidden
  • Date: Mon, 5 Aug 2002 16:29:51 -0700

If you do:
{a: "b", c:3, d:"Jojo Bozo"} as list

you get:
{"b", 3, "Jojo Bozo"}

is there any way to get:
{a, c, d}
?

What I want, really, is a list of the labels, so that I can enumerate
through them and write them out to file. The format of the file is
specified, and I can't change it, so I need to be able to get each
label/value pair and write it out.

Does anyone know of a way to do this? Something like:
{a: "b", c:3, d:"Jojo Bozo"}'s labels

would be awesome.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Seth A. Roby
Scriptwriter Intern
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
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.

  • Follow-Ups:
    • Re: Labels of a Record
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: How do I escape a question mark (?)
  • Next by Date: Re: With Timeout
  • Previous by thread: Re: is this a bug?
  • Next by thread: Re: Labels of a Record
  • Index(es):
    • Date
    • Thread