I have yet another variable going missing problem that I'd like to
understand how it happens.
In the click method for a button I have code like:
lcinstruct = ' '
do form B p1, p2, p3 to lcinstruct
if empty(lcinstruct)
messagebox("error happened")
endif
occasionally the empty(lcinstruct) will fail with "Function argument
value, type, or count is invalid." due, I believe to the variable
lcinstruct disappearing.
In my error handler I do a list memory and in the list of variables
lcinstruct does not appear in instances where the crash occurs however
it does appear in other instances where I force a List memory to happen.
The Unload routine of form B has a return lcinstruct statement.
thanks
pete