i have an Array with:
set Array to {"AA", "AB", "AC", "BA", "BB", "BC", "CA", "CB", "CC"}
now, when i use
do shell script " echo " & Array & " >> " & PathToFile
then i get the Result without any spaces or something else
AAABACBABBBCCACBCC
when i use
repeat with counter from 1 to length of Array
do shell script " echo " & item counter of Array & " >> " & PathToFile
end repeat
i get the result, but every entry in a new line:
AA
AB
AC
BA
BB
BC
CA
CB
CC
But what i want is to write the following Line into my File, with seperators and spaces:
"AA"; "AB"; "AC"; "BA"; "BB"; "BC"; "CA"; "CB"; "CC"
what i have to do?
list, not an array.