Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-16
DEFINEDELETE Procedure
define-name input
STRING .EXT:ref:24
is the 24-byte array that contains the name of the DEFINE to be deleted. The
name is left-justified and padded on the right with blanks. Trailing blanks are
ignored.
Considerations
•
If an error occurs, the DEFINE is not deleted.
•
The context-changes count is incremented each time DEFINEDELETE is invoked
and a consequent change to the process’s context occurs. The count is
incremented by one even if more than one DEFINE is deleted.
Example
STRING .EXT define^name[0:23];
.
.
define^name ':=' ["=mytape "];
error := DEFINEDELETE ( define^name );
IF error <> DEOK THEN ... ;
Related Programming Manual
For programming information about the DEFINEDELETE procedure, refer to the
Guardian Programmer’s Guide.