On 2/22/14, 12:17 PM, Peter Haworth wrote:
I think this is dependant on the Variable Preservation setting on the Preferences Script Editor tab.
It is, but there's a bug in it somewhere. I use script locals extensively and they always worked until somewhere around version 6.x. After that the values were occasionally lost. Every subsequent version has made the problem worse, and now I lose them so often that I've had to add a reload of the values to almost every handler I'm debugging.
Since I can't find a consistent recipe (sometimes they do work) I haven't reported it yet, but it's making my life difficult. All I know is that it happens some time after I change a script, but not every time, so I'm at a loss.
-- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode