MMBasic for Windows - betas


Author Message
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1638
Posted: 06:07am 23 Dec 2023      

Thanks Doug,

The PAUSE does work for both programs. Without it the first program DOES still crash MMB4W though and I don't think it should.

I have just tried a program with a lot of file I/O and that worked perfectly. I was worried that a PAUSE may be needed for that. But no.

While I understand your explanation and reasoning it is confusing that both programs work well in MMBasic DOS without a pause. A normal INPUT from the keyboard will wait until you type in something and hit <enter> and I realize that INPUT #nbr is normally for file I/O, it just doesn't seem to me as though it should need a PAUSE for it to work properly in this situation.

Bill

Edit: Thinking more about it, INPUT from a com port is more like a keyboard input and probably be treated the same way. My opinion for what it's worth.
Edited 2023-12-23 16:42 by Turbo46