<< Prev        Next >>

ID : 113

#Undef

Function

To cancel the macro definition defined by #Define (set to undefined).

Syntax

#Undef macro name

Guaranteed entry

Macro name
Designate the macro name defined by #Define.

Description

The macro definition defined by #Define is canceled (undefined) by programming after #Undef.

For a functional macro, designate only macro name(s) without argument.

Related Terms

Attention

Nothing is performed when a macro name not defined by #Define is stated.

Example

'!TITLE "Symbolic Variable, Macro Definition Disabled"
' Set to disabled after assigning a string to symbolic constant "NAME"
Sub Sample_Undef

' Assign "Desno Corporation" to a symbolic constant called NAME
#Define NAME "Denso Corporation"

' Set symbolic constant NAME to disabled
#Undef NAME

End Sub

ID : 113

<< Prev        Next >>