2 free - free the memory used to store values of lvalues
13 Those of the arguments a, b, ... that specify lvalues are assigned
14 the null value, effectively freeing whatever memory is used to
15 store their current values. Other arguments are ignored.
17 free(.) frees the current "old value".
21 ; mat M[3] = {1, list(2,3,4), list(5,6)}
22 ; print memsize(a), memsize(M)
26 ; print memsize(a), memsize(M)
36 freeglobals, freestatics, freeredc
38 ## Copyright (C) 1999 Landon Curt Noll
40 ## Calc is open software; you can redistribute it and/or modify it under
41 ## the terms of the version 2.1 of the GNU Lesser General Public License
42 ## as published by the Free Software Foundation.
44 ## Calc is distributed in the hope that it will be useful, but WITHOUT
45 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
46 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
47 ## Public License for more details.
49 ## A copy of version 2.1 of the GNU Lesser General Public License is
50 ## distributed with calc under the filename COPYING-LGPL. You should have
51 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
52 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
54 ## @(#) $Revision: 30.1 $
55 ## @(#) $Id: free,v 30.1 2007/03/16 11:10:42 chongo Exp $
56 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/free,v $
58 ## Under source code control: 1997/09/06 20:03:35
59 ## File existed as early as: 1997
61 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
62 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/