Arrays: Difference between revisions
Content deleted Content added
PatGarrett (talk | contribs) →{{header|VBA}}: Option Base |
Drkameleon (talk | contribs) No edit summary |
||
Line 952:
=={{header|Arturo}}==
▲<lang arturo>// empty array
▲arrA: #()
▲// array with initial values
▲arrB: #("one" "two" "three")
arrB: arrB ++ "four"▼
▲// adding an element to an existing array
▲arrB: arrB + "four"
print arrB
append
print arrB
{{out}}▼
▲// retrieve an element at some index
▲print arrB.1</lang>
two</pre>▼
▲{{out}}
▲#("one" "two" "three" "four")
▲#("one" "two" "three" "four" "five")
▲</pre>
=={{header|AutoHotkey}}==
|