[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17.3 Removing Globals

To remove an entire global, you can use the KILL command with the unsubscripted name of the global:

KILL ^MYGLOBAL

If you only want to remove part of a global, i.e., beginning at a certain subscript level, use the KILL command with a subscripted name:

KILL ^MYGLOBAL("foo")

This will remove only the "foo" subscript and all of its children.

If you only want to remove the data value at a specific subscript level, leaving the subscript itself intact, use KVALUE:

KVALUE ^MYGLOBAL("foo")

This document was generated on May 5, 2025 using texi2html 5.0.