Glenn Linderman wrote:

Sorry for following up my own post, but no one else did....

So then I thought maybe I was on to something when I discovered that Dialog uses

ENTER;
SAVETMPS;
...
FREETMPS;
LEAVE;

but DoEvents doesn't. Well, I tried adding that, and it didn't help a bit. At least not with the double character problem. It does make you wonder if the above sequence is really necessary in Dialog, if it isn't necessary in DoEvents; or contrariwise, if it should be in DoEvents to solve some other problem besides the double character problems.

Not being an XS expert, I couldn't say. I sort of barely grasp that it is something to do with variable lifetime scoping, but haven't figured out everything in perlguts yet, so can't yet draw broad inferences as to the potential impact of extra or missing scoping directives.

--
Glenn
=====
Not everything that is counted counts,
and not everything that counts can be counted.
                 -- A. Einstein


Reply via email to