Resets variables assigned to a common storage area.
CLEAR COM [/store/]
CLEAR COMMON [/store/]
A named common storage area for a group of variables. If specified, this name
is enclosed with slashes (/). The default is the unnamed common area.
statement resets all of the variables
stored in the common storage area, assigning them the value 0.
statement allows you to assign a list of local
variables to a common storage area. These variables do not have to be defined
to be listed in a common storage area.
statement can define a store
for a named common storage area. If COMMON
the named variables are stored in the unnamed common storage area. CLEARCOMMON
reset the variables in a named common storage area, or omit store
reset the variables in the unnamed common storage area.
You can use the CLEAR
statement to clear (reset to
0) all local variables that are not assigned to a common storage area.
© 1997-2019 InterSystems Corporation, Cambridge, MA