Difference between revisions of "UNSET()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
− | + | Function to delete memory variables and free the storage that they were occupying | |
Line 12: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[CLEAR MEMORY]], [[ISSET()]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[RETURN]], [[SAVE | + | [[CLEAR MEMORY]], [[ISSET()]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[RETURN]], [[SAVE]], [[STORE]], [[TYPE()]], [[VARTYPE()]] |
Line 28: | Line 24: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Memory Variables]] | [[Category:Memory Variables]] | ||
[[Category:Memory Variables Functions]] | [[Category:Memory Variables Functions]] |
Latest revision as of 15:18, 14 June 2011
Purpose
Function to delete memory variables and free the storage that they were occupying
Syntax
UNSET(<memvar>[,<memvar2>...])
See Also
CLEAR MEMORY, ISSET(), PRIVATE, PUBLIC, RELEASE, RESTORE, RETURN, SAVE, STORE, TYPE(), VARTYPE()
Description
The UNSET() function deletes memory variables, and releases the storage that they were occupying. Recital will automatically delete PRIVATE memory variables when a PROCEDURE or PROGRAM returns. You cannot UNSET() memory variables belonging to other procedures.
Example
if isset(m_var) unset(m_var) endif
Products
Recital, Recital Server