Creating an Array: Difference between revisions

Content added Content deleted
m (→‎{{header|E}}: moved from pascal)
Line 98: Line 98:
=={{header|AppleScript}}==
=={{header|AppleScript}}==
AppleScript arrays are called lists:
AppleScript arrays are called lists:
set empty to {}
<lang applescript> set empty to {}
set ints to {1, 2, 3}
set ints to {1, 2, 3}</lang>


Lists can contain any objects including other lists:
Lists can contain any objects including other lists:
set any to {1, "foo", 2.57, missing value, ints}
<lang applescript> set any to {1, "foo", 2.57, missing value, ints}</lang>


=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==