"repeat with x in xList..." returns a reference of array.
So, some command accept a reference and other command does not accept it.
We have to change the reference into real data.
"as string" would be a good way of writing to abbreviate the explanation. However, it may be a way of writing that gives a sense of incongruity to those who emphasize principles.
We have to convert or access reference by using "contents of".
set aList to {"1", "2", "3", "4", "5"}
repeat with i in aList
set j to contents of i
say j
end repeat
You can find such a description in AppleScript example blogs...
http://piyocast.com/as/search_gcse?q=contents%20of
Topic:
App & System Services
SubTopic:
Core OS
Tags: