I have a large four segment program (60k,56k,57k,12k) that
uses serial ports COM1-COM4. Recently I changed COM3 to use
RTS/CTS hardware handshaking.
If the device connected to COM3 is either unplugged or
disconnected, I should get a runtime error 24. I never get this
error in my program. When I try to PRINT #3, I get error 52
and the program crashes. I am unable to trap this error.
Even if I use ON ERROR RESUME NEXT, the program still crashes
at the PRINT #3 statement.
I am using PB DOS 3.2 in a DOS 6.22 environment.
------------------
uses serial ports COM1-COM4. Recently I changed COM3 to use
RTS/CTS hardware handshaking.
If the device connected to COM3 is either unplugged or
disconnected, I should get a runtime error 24. I never get this
error in my program. When I try to PRINT #3, I get error 52
and the program crashes. I am unable to trap this error.
Even if I use ON ERROR RESUME NEXT, the program still crashes
at the PRINT #3 statement.
I am using PB DOS 3.2 in a DOS 6.22 environment.
------------------
Comment