RosettaCodeData/Task/Arrays/AppleScript/arrays-5.applescript
2023-07-01 13:44:08 -04:00

3 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}