Difference between revisions of "Append Command"
From GeoGebra Manual
m (1 revision) |
(added v4 - example formatting) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page}}</noinclude> | + | <noinclude>{{Manual Page|version=4.0}}</noinclude> |
; Append[List, Object]: Appends the object to the list. | ; Append[List, Object]: Appends the object to the list. | ||
− | : Example | + | : {{Example| <tt>Append[{1, 2, 3}, 4]</tt> gives you ''{1, 2, 3, 4}''.}} |
; Append[Object, List]: Appends the list to the object. | ; Append[Object, List]: Appends the list to the object. | ||
− | : Example | + | : {{Example| <tt>Append[4, {1, 2, 3}]</tt> gives you ''{4, 1, 2, 3}''.}} |
Revision as of 18:31, 12 February 2011
- Append[List, Object]
- Appends the object to the list.
- Example: Append[{1, 2, 3}, 4] gives you {1, 2, 3, 4}.
- Append[Object, List]
- Appends the list to the object.
- Example: Append[4, {1, 2, 3}] gives you {4, 1, 2, 3}.