AppleScript で空のリストを作り、要素を追加してみます。
『set the end of {リスト}』を使い、空のリストに文字列 "red" という要素をひとつ加えます。
同様にふたつめの要素"blue"を加えます。
set the end of theList to "blue"
ここまでの結果として、{"red", "blue"}というリストが作成されていることが、結果ウィンドウに示されています。
-- Mac OS X 10.5 on Intel mac mini
set theList to {}
『set the end of {リスト}』を使い、空のリストに文字列 "red" という要素をひとつ加えます。
set the end of theList to "red" -- リストは{"red"}となります。
同様にふたつめの要素"blue"を加えます。
set the end of theList to "blue"
ここまでの結果として、{"red", "blue"}というリストが作成されていることが、結果ウィンドウに示されています。
-- Mac OS X 10.5 on Intel mac mini