Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error when inputting ASCII text from COM port
#12
Great!

If you want to get rid of the Goto's you can replace your BYTELOOP with:

Code: (Select All)
Do
  If Loc(1) <> 0 Then Get #1, , byte
  If Asc(byte) = 13 Then Exit Do
  If Asc(byte) >= 46 And Asc(byte) <= 90 Then KILLFILE$ = KILLFILE$ + byte
Loop
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
RE: Error when inputting ASCII text from COM port - by mdijkens - 01-24-2024, 08:01 AM



Users browsing this thread: 1 Guest(s)