Anonymous user
Arrays: Difference between revisions
m
→{{header|MiniScript}}
(Added array description) |
|||
Line 4,255:
x[:-1] [42, 3.14, 7, "hike"] (everything up to the last item)
</pre>
Example:
<lang MiniScript>arr = ["a", 1, 3]
print arr[0]
arr.push("x")
print arr.pop()</lang>
=={{header|Modula-2}}==
|