Strict Compile Mode
bobs at twft.com
Tue Oct 9 12:49:59 EDT 2012
Pete, out of curiosity, did you try "show stack tStackName"? It should be the identical command, but what the hey? Worth a shot. I do not know of any messages that get generated by simply making a stack visible, so it's doubtful that some message is generating a silent error and exiting to top.
On Oct 9, 2012, at 9:36 AM, Peter Haworth wrote:
> Indeed! Although recent frustrations have made me thing seriously about
> using lock messages/wait a lot more even when there's no apparent reason
> for doing so.
> For example, with help from a kindly customer, I discovered that the
> following line of code in a script:
> "set the visible of stack tstackname to true"
> ... caused the rest of the script to not execute. The fix was either to
> move that line to the end of the script so there were no more lines to
> execute after it or surround it with lock/unlock messages. I've no doubt
> there's a good explanation for that behavior but what it could possibly be
> escapes me.
More information about the Use-livecode