Difference between revisions of "Append Command"
From GeoGebra Manual
m (whitespace) |
|||
Line 4: | Line 4: | ||
: {{Example|1=<code>Append[{1, 2, 3}, 4]</code> gives you ''{1, 2, 3, 4}''.}} | : {{Example|1=<code>Append[{1, 2, 3}, 4]</code> 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|1=<code>Append[4, {1, 2, 3}]</code>gives you ''{4, 1, 2, 3}''.}} | + | : {{Example|1=<code>Append[4, {1, 2, 3}]</code> gives you ''{4, 1, 2, 3}''.}} |
Revision as of 02:20, 18 April 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}.