loss of access to stacks after "save as"

Dr. Hawkins dochawk at gmail.com
Fri Nov 4 19:06:33 CET 2016


I have a bmpVrsn routine to update the revision numbers of my various
stacks.

Once the calculations are done, I

*close* stack stk

*save* stack stk as newFlNm

*delete* stack oldFlNm

So stk might be "rawForms", which was in file rawForms.161103a.livecode
(oldFlNm), and now rawforms.161103b.livecode (newFlNm).

Immediately, I tend to get the message asking what to do with stack nwFlNm
because oldFlNm is being loaded.

Some other updates are done after that--and can't access the new stack.
E.g.,

send "boo!" to stack "rawForms"


fails with no such stack found.

The first problem was present under 7; the second seems to be new to 8.

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


More information about the use-livecode mailing list