Jump to content

Memory allocation: Difference between revisions

m
→‎{{header|REXX}}: show that a duplicate variable in a DROP is OK. -- ~~~~
(adding maxima)
m (→‎{{header|REXX}}: show that a duplicate variable in a DROP is OK. -- ~~~~)
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.
 
<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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.