RosettaCodeData/Task/Array-length/AppleScript/array-length-1.applescript

7 lines
106 B
AppleScript

set theList to {"apple", "orange"}
count theList
-- or
length of theList
-- or
number of items in theList