Memory allocation: Difference between revisions

m
(Pari/GP)
Line 532:
( free 500 cells )
-500 allot</lang>
 
=={{header|REXX}}==
There is no explicit memory allocation in REXX, variables are just
assigned.
<lang rexx>
Axtec_god.3='Quetzalcoatl ("feathered serpent"), god of learning, civilization, regeneration, wind and storms'
</lang>
There is no explicit way to de-allocate memory, but there is a DROP
statement that "un-defines" a REXX variable and it's memory is then free
to be used for other variables, provided that free memory isn't too
fragmented.
<lang rexx>
drop xyz NamesRoster j k m caves names.
</lang>
 
=={{header|Tcl}}==