04-27-2024, 08:20 PM
(04-27-2024, 07:00 PM)TerryRitchie Wrote:Yes, that works too or it’s easy(04-27-2024, 02:24 PM)johannhowitzer Wrote: I tried it in PE 3.11.0, same issue. Narrowed it down to line 27:Yep, I've run into that too. Use
do: loop until screenexists = true
For some reason this causes the program to hang only in PE. I've commented out this line in the code up top, should work for you now.
Odd, this code is functionally what the PE wiki recommends. Seems like either a PE bug, or an obsolete wiki article:
https://qb64phoenix.com/qb64wiki/index.php/SCREENEXISTS
_DELAY .25
instead if a pause is needed for anything to "catch up".
do: loop until _screenexists
without the =TRUE
The WIKI only says
DO : _LIMIT 10: LOOP UNTIL _SCREENEXISTS