Write/Read COM Port in QBasic 
Author Message
 Write/Read COM Port in QBasic

Quote:

>I am working on a program that will use a null-modem cable to
>communicate with another computer via the serial ports. How can I
>write/read these ports? I assume that the OUT and IN commands should be
>used, but don't know much more. I would be interested in any help that
>anyone could provide.

>Thanks in advance,

>Joe Davison


You open a COM port just as you do a file.  See sample terminal
program (JCOM) in powerbasic on the PB source page at my home page
(URL below).

Visit my source code page at http://www.*-*-*.com/ ~johnecarter
Visit my favorite school at http://www.*-*-*.com/ ~addison

Get PR-Tracker -- tracks problem reports, defects, bugs
INFORMATION:   http://www.*-*-*.com/
DOWNLOAD:     http://www.*-*-*.com/



Thu, 03 Feb 2000 03:00:00 GMT  
 Write/Read COM Port in QBasic

I am working on a program that will use a null-modem cable to
communicate with another computer via the serial ports. How can I
write/read these ports? I assume that the OUT and IN commands should be
used, but don't know much more. I would be interested in any help that
anyone could provide.

Thanks in advance,

Joe Davison



Thu, 03 Feb 2000 03:00:00 GMT  
 Write/Read COM Port in QBasic



Quote:
>I am working on a program that will use a null-modem cable to
>communicate with another computer via the serial ports. How can I
>write/read these ports? I assume that the OUT and IN commands should be
>used, but don't know much more. I would be interested in any help that
>anyone could provide.

Look in the help system for the OPEN COM command.

Quote:
>Thanks in advance,

>Joe Davison


--
Bill Marcum    bmarcum at iglou dot com
"Someone forgot to put the shoggoth out.  There's ichor all over the floor."


Fri, 04 Feb 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Writing and reading to COM ports in Basic/QBasic

2. reading and writing to COM ports

3. Read/Write to Com Port at 19200 Baud

4. Reading from Com port / writing to database

5. read/write from/to the com port

6. Reading and Writing to com ports????

7. COM-Port (read/write)

8. Qbasic: Pre-written INI read/write routines?

9. QBasic & COM Ports

10. How to open a com port in qbasic

11. High COM Port Speed in QuickBASIC or QBasic

12. Multiple COM ports and QBASIC.

 

 
Powered by phpBB® Forum Software