
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/