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 plugClippy on Oct 2
 How to test com port is open in qb64Docfxit on Oct 2
  You can't test it with nothing on itClippy on Oct 2
  Re: How to test com port is open in qb64Michael Calkins on Oct 3
   What does that tell you?Clippy on Oct 3
    Re: What does that tell you?Michael Calkins on Oct 3
     Well I got nothing in QB64 until I changed it to COM2Clippy on Oct 3
   Re: How to test com port is open in qb64Docfxit on Oct 4
    Try this:Clippy on Oct 4
     Thanks for the codeDocfxit on Oct 4
      Is the error coming up as 68 with QB64?Clippy 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