How does one create a list of lists. Better yet, how can I create a list of records. I have tried
copy to aList the end of theList
but if I try to get an item from the list, I get only a single item and not a list (or a record).
set x to {1, 2, 3}
set y to {4, 5, 6}
set z to x & y -- {1, 2, 3, 4, 5, 6}
set x to {1, 2, 3}
set y to {4, 5, 6}
set z to {}
copy {y} to z
copy {x} & z to zz -- {{1, 2, 3}, {4, 5, 6}}
set x to {name:"john", age:43}
set y to {name:"mary", age:21}
copy {y} & {x} to zz -- {{name:"mary", age:21}, {name:"john", age:43}}
mg
: How does one create a list of lists. Better yet, how can
: I create a list of records.
The Akua Sweets osax has remarkable list manipulation commands.