remove_change

remove_change — removes an on_change function.

Syntax

remove_change (symbol, s_exp)
    

Arguments

symbol
Any Gamma symbol.
s_exp
Any Gamma expression, usually a function or method call.

Returns

A list of the following items:

({class_name } fn_name fn_args ...)

Where fn_name and fn_args correspond to the s_exp parameter.

Description

This function reverses a call to on_change, ending the evaluation of the s_exp whenever the symbol changes.

Example

method AccessData.destructor ()
{
    remove_change(#$DataSim:DataSim.Sine, 
                  `(@self).print_point($DataSim:DataSim.Sine));
}