can I make a list of records?
can I make a list of records?
- Subject: can I make a list of records?
- From: James Sentman <email@hidden>
- Date: Mon, 28 Jan 2002 11:28:14 -0500
Hi Folks,
I'd like to be able to represent some data structures as lists of
records so that I can do things like
set myFirstRecord to {name:"jack", age:"32"}
set mySecondRecord to {name:"peter", age:"41"}
and then put them into a single list, but make it a list of records,
not just a list of strings which is what I always seem to get.
set MyList to MyList & MyFirstRecord & MySecondRecord just gives me a
regular list of strings with 4 items in it. I need a list of 2
records so that I could do something like:
set MyRecord to item 2 of MyList
return name of MyRecord
would then return "peter"
The point is to be able to build this structure in a loop and then
pass it off to a program in a single step rather than sending lots of
events over and over which would slow things down too much.
Any help or pointers to further documentation greatly appreciated!
Thanks,
James
--
_________________________________________________________________________
James Sentman <email@hidden>
http://www.sentman.com
Enterprise server monitoring with:
http://whistleblower.sentman.com/