How to test com port is open in qb64

by Docfxit (no login)

I have some code in qb64.
wsFileNumb = 1

OPEN comPort$ + comMode$ FOR RANDOM AS #wsFileNum

I need to know if the open command was successful.

How can I test it?

Thanks,

Docfxit

Posted on Oct 2, 2011, 1:26 PM

Respond to this message   

Return to Index

Response TitleAuthor and Date
You need something on it like a loopback plug on Oct 2
 How to test com port is open in qb64Docfxit on Oct 2
  You can't test it with nothing on it on Oct 2
  Re: How to test com port is open in qb64 on Oct 3
   What does that tell you? on Oct 3
    Re: What does that tell you? on Oct 3
     Well I got nothing in QB64 until I changed it to COM2 on Oct 3
   Re: How to test com port is open in qb64Docfxit on Oct 4
    Try this: on Oct 4
     Thanks for the codeDocfxit on Oct 4
      Is the error coming up as 68 with QB64? on Oct 4
       Re: Is the error coming up as 68 with QB64?Docfxit on Oct 4

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement