03-07-2012, 10:36 AM
Some types that can allocate much memory have a function like str.all. To free ARRAY, call redim or assign 0.
To easily free a variable of a user defined type (any type) without explicitly freeing each member: assign an empty variable of same type.
TYPE var
...
;free var
TYPE _empty; var=_empty
To easily free a variable of a user defined type (any type) without explicitly freeing each member: assign an empty variable of same type.
TYPE var
...
;free var
TYPE _empty; var=_empty