Show/Hide Toolbars

XSharp

NoteThis command is not available in the Core and Vulcan dialects
NoteThis command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available

Purpose

Delete both public and private memory variables from the memory variable table.

Syntax

CLEAR MEMORY

Description

It operates in contrast to RELEASE ALL which does not actually delete public and private memory variables, but assigns NIL to those whose scope is the current procedure.  CLEAR MEMORY is the only way to delete all public memory variables from current memory.  Declared variables and constants, however, are unaffected by CLEAR MEMORY.

Assembly

XSharp.RT.DLL

See Also

MemClear(), RELEASE