Collections: Difference between revisions

Content added Content deleted
(added MiniScript example)
Line 2,115: Line 2,115:
year: 2003</lang>
year: 2003</lang>
'''Bold text'''
'''Bold text'''

=={{header|MiniScript}}==
MiniScript supports both lists and maps (dictionaries). This task demonstrates lists.
<lang MiniScript>seq = [0, "foo", pi]
seq.push 42
seq = seq + [1, 2, 3]
print seq</lang>

{{output}}
<pre>[0, "foo", 3.141593, 42, 1, 2, 3]</pre>


=={{header|NetRexx}}==
=={{header|NetRexx}}==