Script locals in library stack script

J. Landman Gay jacque at
Fri Feb 10 23:03:47 EST 2017

I know, that's why I didn't report it. I scoured the script looking for 
a difference but I couldn't find anything, the two queries were executed 
by the same handler. I looked for anything that would empty the variable 
and that wasn't there either.

My current theory is creeping stack corruption. The stack ran with only 
this one oddity, but when I tried to reload it from disk later it was 
reported as corrupted and wouldn't open. I had to open it in BBEdit and 
use a days-old backup in LC to paste in all the changes. Apparently it 
had corrupted several days before, but because I'd left the Mac on with 
the stack open I didn't know.

I've sent the working stack and the corrupted one to bugzilla though I 
don't know if the team can make anything of it. The missing variable 
appeared in LC 8.1.2 so I switched over to LC 9 to see if that helped. 
That's when the stack gave up. I think I'll stay away from 9 until it's 
out of dp, but there's something going on with LC 8 too in some unique 
circumstance. I haven't had any trouble with 8 before now.

On 2/10/17 8:47 PM, Bob Sneidar via use-livecode wrote:
> I don't mean to oversimplify, but when customers call complaing that only one of several scan to SMB registrations is failing, I have to get them to see that if all the others are not failing ever, it cannot be a problem with the copier.
> If only one script local is getting reset, then it cannot be that LC is resetting script locals because they would ALL reset, not just one.
> It may be possible to set a breakpoint on the script local to trigger when it becomes empty.
> Bob S
>> On Feb 10, 2017, at 12:22 , J. Landman Gay via use-livecode <use-livecode at> wrote:
>> The extremely odd thing was that the script had three script locals, and only one of them lost its value. The other two were fine. It was impossible to track down.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list