NoProcedure Variable

A procedure constant that is initialized with no procedure value.

Value

0

Type

Procedure Public Const

Comments

Use this constant to test if a procedure variable is set. By default, all procedure variables are initialized to the NoProcedure variable.

Example

The following example demonstrates how to change an error handling procedure:

Procedure SetErrorHandling(proc): void public

proc : Val Procedure

{

if proc=NoProcedure

m_procError=DefaultErrorHandling;

else

m_procError=proc;

endif

}

See Also

False, Nothing, Procedure Data Type