Arrays: Difference between revisions

Content added Content deleted
(Brainf*** implementation)
Line 372: Line 372:
=={{header|AntLang}}==
=={{header|AntLang}}==
<lang AntLang>/ Create an immutable sequence (array)
<lang AntLang>/ Create an immutable sequence (array)
arr: seq[1;2;3]
arr: <1;2;3>


/ Get the head an tail part
/ Get the head an tail part
Line 383: Line 383:


/ Get the nth element (index origin = 0)
/ Get the nth element (index origin = 0)
n: n elem arr</lang>
nth:arr[n]</lang>


=={{header|APL}}==
=={{header|APL}}==