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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac debugger not connecting, a user error! BlameTroi 0 100 02-07-2026, 06:18 PM
Last Post: BlameTroi
  ERROR MESSAGES COLORS ? aurel 5 391 01-02-2026, 11:26 AM
Last Post: aurel
  Using CONST & _RGB used together seem to error... Dav 12 690 12-12-2025, 12:29 AM
Last Post: Dav
  error doing image collision detection with _MemGet madscijr 55 4,686 10-01-2025, 03:25 PM
Last Post: bplus
  error on function returning _mem Herve 5 687 07-05-2025, 08:06 PM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)