QB64 Phoenix Edition v3.5.0 Released!
#33
(01-11-2023, 12:51 PM)Kernelpanic Wrote: If I take out the locate, it works again as usual after the second F5, then this strange behavior again. If I remove "$Console...", see screenshot.
So something goes wrong with the interaction of "$Console" and Locate on line 27, but only on 3.5.0.

Without "$Console ..."
(image)

I repeat, you need a "WIDTH 80, 30" in the least, and without "$CONSOLE:ONLY", because by default "SCREEN 0" has only 25 lines and you're trying to put the cursor out of range by two lines. This is what you're showing with this screenshot. Maybe you have "CMD.EXE" console much taller up and down and that's why you don't notice it, while your program was printing to the console.

Ahhh... it's starting to come to me. With "$CONSOLE:ONLY" there should be a prompt given by "END" statement: "Press enter to continue". But if it's displaying "Press any key..." instead or alike, that's not expected behavior. The "Press any key to continue" at the bottom of the screen was derrived from QuickBASIC and QBasic, for "SCREEN 0" because remember many people ran their programs from the IDE. It wasn't noticed when the program was compiled and created with BC.EXE and LINK.EXE, and then run from MS-DOS command line.

But what is the message at the end of the program run, with the version of the program in post #26? If it's not "Press enter to continue" then it's a bug with QB64PE. If the screeen clears or something else then it's other-worldly behavior.
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.5.0 Released! - by mnrvovrfc - 01-11-2023, 03:42 PM



Users browsing this thread: 36 Guest(s)