Memory allocation: Difference between revisions

Content added Content deleted
(adding maxima)
m (→‎{{header|REXX}}: show that a duplicate variable in a DROP is OK. -- ~~~~)
Line 800: Line 800:
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.
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. Axtec_god. Hopi
<lang rexx>drop xyz NamesRoster j k m caves names. Axtec_god. Hopi Hopi


/* it's not considered an error to DROP a variable that isn't defined.*/</lang>
/* it's not considered an error to DROP a variable that isn't defined.*/</lang>