remove_exception_function

remove_exception_function — removes an exception function from a symbol.

Syntax

remove_exception_function (symbol, exc_fn)

		

Arguments

symbol
The point name, as a symbol, from which to remove the exception function.
exc_fn
The exception function body.

Returns

The exception function which was removed, or nil if no function was removed.

Description

This function removes an exception function (Cogent DataHub exception handler) from the symbol. The exc_fn is compared to all of the current exception functions for the symbol using the comparison function eq.

Example

Gamma> add_exception_function(#temp, #princ("temp change\n"));
(princ "temp change\n")
Gamma> next_event();
temp change
(t)
Gamma> temp;
40
Gamma> remove_exception_function(#temp, #princ("temp change\n"));
(princ "temp change\n")
Gamma>  next_event();
nil
Gamma> temp;
35
Gamma> 
		

See Also

add_exception_function