2 append - append one or more values to end of list
5 append(x, y_0, y_1, ...)
8 x lvalue whose value is a list
14 If after evaluation of y_0, y_1, ..., x is a list with contents
15 (x_0, x_1, ...), then after append(x, y_0, y_1, ...), x has
16 contents (x_0, x_1, ..., y_0, y_1, ...).
18 If after evaluation of y_0, y_1, ..., x has size n,
19 append(x, y_0, y_1, ...) is equivalent to insert(x, n, y_0, y_1, ...).
26 list (5 elements, 5 nonzero):
33 ; append(x, pop(x), pop(x))
36 list (5 elements, 5 nonzero):
43 ; append(x, (remove(x), 7))
46 list (5 elements, 5 nonzero):
54 append() can have at most 100 arguments
60 delete, insert, islist, pop, push, remove, rsearch, search,
63 ## Copyright (C) 1999-2006 Landon Curt Noll
65 ## Calc is open software; you can redistribute it and/or modify it under
66 ## the terms of the version 2.1 of the GNU Lesser General Public License
67 ## as published by the Free Software Foundation.
69 ## Calc is distributed in the hope that it will be useful, but WITHOUT
70 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
71 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
72 ## Public License for more details.
74 ## A copy of version 2.1 of the GNU Lesser General Public License is
75 ## distributed with calc under the filename COPYING-LGPL. You should have
76 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
77 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79 ## @(#) $Revision: 30.1 $
80 ## @(#) $Id: append,v 30.1 2007/03/16 11:10:42 chongo Exp $
81 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/append,v $
83 ## Under source code control: 1994/03/19 03:13:17
84 ## File existed as early as: 1994
86 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
87 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/