Extracting fields from a record.
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. |
----------------------------------------------------------------------