Script Only Stack Behaviors and Nesting
bobsneidar at iotecdigital.com
Mon Jul 2 13:35:42 EDT 2018
Whoops! Wrong thread.
> On Jul 2, 2018, at 10:05 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi all. I nailed this down, and it is indeed as someone surmised, that even though the script editor variable watcher indicated that script local variables had the correct values, it was showing me the BEHAVIOR's script local variable values, and NOT those for the STACK, which were in fact still empty (not initialized).
> This is likely going to bite others in the butt in the future, who use the same script local variables in their behaviors as they do in their parent script. Who knows, maybe I'm going to be the only one in the history of LC to try this, but I just thought I'd toss that out there, in case anyone else gets obscure bugs where a statement ought to work and doesn't.
> Bob S
More information about the use-livecode