• 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
Extracting fields from a record.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extracting fields from a record.


  • Subject: Extracting fields from a record.
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 28 Jan 2001 08:51:07 -0800

Is there a simple way, without a repeat loop, to get a list of all the
similar fields from a record? For example:

set one to {foo:1, bar:2, gurney:3}
set two to {foo:4, bar:2, gurney:6}
set three to {foo:7, bar:8, gurney:9}
set itAll to {one, two, three}
get foo of itAll

This returns an error, as do
get foo of every item of itAll
get foo of contents of itAll
get foo of every item of contents of itAll

Any suggestions?

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------


  • Prev by Date: Re: Path to documents folder
  • Next by Date: Re: Path to documents folder
  • Previous by thread: Re: line breaking and indenting
  • Next by thread: Listing apps in launch order
  • Index(es):
    • Date
    • Thread