MMBasic for Windows - betas


Author Message
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1635
Posted: 04:37am 21 Dec 2023      

I have been testing the INPUT command and the INPUT$ function after results from another post. I have an MM2 which is connected to COM3 and it is running the program:
DO
PRINT "Hello I'm the MM2"
PAUSE(10)
LOOP

I have verified the output using Teraterm

Using MMB4W running this program:
OPEN "com3: 38400" AS #2
test$ = INPUT$(20,#2)
PRINT test$
CLOSE #2

I get this result:


If I run this program:
OPEN "com3: 38400" AS #2
input #2, test$
print test$
CLOSE #2

MMB4W opens and crashes and I see nothing

Both programs work as expected (by me) in MMBasic for DOS. Sometimes the result is garbled until it is synchronised by the PAUSE in the MM2 but that is not surprising.

I believe this is a bug or 2 unless I am doing something stupid.

Bill

Edit: Forgot to mention that TassyJim found this but it seemed to go unnoticed.
Edited 2023-12-21 15:25 by Turbo46