RosettaCodeData/Task/Arrays/AppleScript/arrays-5.applescript

4 lines
126 B
AppleScript

set any to {1, "foo", 2.57, missing value, {1, 2, 3}}
item -1 of any --> {1, 2, 3}
items 1 thru 3 of any --> {1, "foo", 2.57}