remove_echo_function

remove_echo_function — removes an echo function from a symbol.

Syntax

remove_echo_function (symbol, echo_fn)

		

Arguments

symbol

The point name, as a symbol, from which to remove the echo function.

echo_fn

The echo function body.

Returns

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

Description

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

Example

Gamma> add_echo_function(#temp,#princ("echo\n"));
(princ "echo\n")
Gamma> write_point(#temp,28);
t
Gamma> next_event();
echo
(t t)
Gamma> remove_echo_function(#temp,#princ("echo\n"));
(princ "echo\n")
Gamma> write_point(#temp,32);
t
Gamma> next_event();
(t)
Gamma> 
		

See Also

add_echo_function