>This works for me:
>
>set recordList to {}
>set oneRecord to {foo:1, bar:"hello"}
>set the end of recordList to oneRecord
>set twoRecord to {foo:2, bar:"Goodbye"}
>set the end of recordList to twoRecord
>recordList
>
>HTH,
>
>ES

Works for me too.  Thanks.

I wonder where it says that in the Applescript Language Guide.


>
>>
>>  set theRecords to {{foo:1, bar:"hello"}, {foo:2, bar:"Goodbye"}}
>>  foo of item 2 of theRecords
>>  --> 2
>>
>>  But how do you create such a list?
>>
>>  set recordList to {}
>>  set oneRecord to {foo:1, bar:"hello"}
>>  set recordList to recordList & oneRecord
>>  -->{foo:1, bar:"hello"}
>>  set twoRecord to {foo:2, bar:"Goodbye"}
>>  set recordList to recordList & twoRecord
>>  recordList
>>  -->{foo:1, bar:"hello"}
>>


-- 

Bill Steele
[log in to unmask]