local variable being reset from outside of script

Dr. Hawkins dochawk at gmail.com
Fri Jun 19 13:13:15 EDT 2015


On Fri, Jun 19, 2015 at 9:02 AM, Dr. Hawkins <dochawk at gmail.com> wrote:

> Somehow, between the two checks, pChFld changes from holding an id to
> empty.


I managed a partial workaround, but there are more disappearing local
variables.

The partial workaround is to


But now it's getting worse:

ck is a checkpoint routine that writes its argument to the message box and
a log:


*on* ck stuff

   *--   answer stuff*

   *--   breakpoint*

   *put* stuff

   *put* stuff & cr after fld "log" of stack "ckwatch"

*end* ck

Now I"m seeing,


   ck "pChFld test:" & cr & the text of pChFld

   *set* the hilitedLine of pChFld to 1


pChFld has lost its value by the second line of this snippet!



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list