local variable being reset from outside of script

Mark Wieder mwieder at ahsoftware.net
Fri Jun 19 19:07:40 EDT 2015


J. Landman Gay <jacque at ...> writes:

> Could some other control using the same behavior be interfering or 
> acting as the target? Each control keeps its own set of variable values 
> and if the focus shifts and triggers a second instance you may be seeing 
> a report from another object. Just a wild guess. You could try removing 
> the behavior from all but a single test control and see if it still happens.

Could also be launching a palette stack from a behavior object.
It's possible that on return it launches a new behavior instance.
Dunno. It's a bug if so.

> you're pretty^H^H^HVERY good at  producing the unexpected.

-- 
 Mark Wieder
 ahsoftware at gmail.com





More information about the Use-livecode mailing list