Difference between revisions of "Append Command"
From GeoGebra Manual
m |
Noel Lambert (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|list}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|list}} | ||
− | ;Append[ | + | ;Append[ <List>, <Object> ]:Appends the object to the list and yields the results in a new list. |
:{{Example|1=<code>Append[{1, 2, 3}, 4]</code> creates the list ''{1, 2, 3, 4}''.}} | :{{Example|1=<code>Append[{1, 2, 3}, 4]</code> creates the list ''{1, 2, 3, 4}''.}} | ||
− | ;Append[ <Object>, | + | ;Append[ <Object>, <List> ]:Appends the list to the object and yields the results in a new list. |
:{{Example|1=<code>Append[4, {1, 2, 3}]</code> creates he list ''{4, 1, 2, 3}''.}} | :{{Example|1=<code>Append[4, {1, 2, 3}]</code> creates he list ''{4, 1, 2, 3}''.}} |
Revision as of 14:17, 22 August 2015
- Append[ <List>, <Object> ]
- Appends the object to the list and yields the results in a new list.
- Example:
Append[{1, 2, 3}, 4]
creates the list {1, 2, 3, 4}.
- Append[ <Object>, <List> ]
- Appends the list to the object and yields the results in a new list.
- Example:
Append[4, {1, 2, 3}]
creates he list {4, 1, 2, 3}.