I have an object that was constructed as a beast. There are many levels within
the object and I am looking for a way to retrieve parts of the object that are
embedded deep within the object.
The object is structured as an array of objects. Inside each object is another
series of objects (Race by age by gender) Then in another part Object by manner
by gender. Now I am trying to generate content based on that and am looking to
fetch lest say the age of a particular member of a year of a particular gender.
if I was going this is Javascript it would be something like
aoDataset{year}.race{race}.age{age}.gender where gender is an array containing
a number of (Male, female, and other) I really do not want to have to break
things down by creating a series of variables to extract the layers of the tree
just to get to a variable, or an array of objects deep in the object. It would
be much nicer if I could just jump straight to the part of the object I want to
grab for my component. Is there a simple way to do this?
-----------------------------------------------------------------------
MacCafe
4405 Talmadge St.
Toledo, OH 43623
Eric Naujock - ACSA 10.2, 10.3, 10.4 Apple - ACTC 10.5, 10.6, 10.7, 10.8,
10.9, 10.10
http://www.mac-cafe.com
email: e <mailto:[email protected]>[email protected] <mailto:[email protected]>
AOL IM: erlic
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************