Hi all,
For simple variables I find this an odd feature,
might be even dangerous and may also affect
performance. Not to mention how many odd cases
it may generate (think of recursion if the trigger
block modifies the triggering variable, variables
referencing other variables, and handling arrays
It can be very useful, we need to do it manually :(
in our ERP need to spread some values on changing variables, and
the tree some times is very long and easy to break, we now are using
codeblocks that are evaluated overloading assign operator.
Is an important feature to ERP developers.
Trigger
On Wed, 24 Sep 2008, Chen Kedem wrote:
> is it possible for you to implement a "data trigger" (for vars, fields,
> object and so on) defining a code block called when the object changes his
> value...
> example of code
> function main()
> local nvar as numeric
> nvar := 1
> //
> // set trigger (for
This submitted to the Harbour SF as feature request (I just forward it as is)
https://sourceforge.net/tracker/index.php?func=detail&aid=2122754&group_id=681&atid=350681
-
is it possible for you to implement a "data trigger" (for vars, fields,
object and