Re: Carrier Detect

 BBS: Inland Empire Archive
Date: 01-31-93 (07:45)             Number: 364
From: DICK DENNISON                Refer#: NONE
  To: SCOTT DRYSDALE                Recvd: NO  
Subj: Re: Carrier Detect             Conf: (2) Quik_Bas
SD> I know that this is VERY lame but in my door programme it doesn't even
SD> monitor carrier detect instead it's defence against hang-ups is a two
SD> warning of no key pressed then a minute later the ending of the progra

Try putting this in a loop where you are waiting for input:

'Dick Dennison PubDomain 1/93

If INP(&H3FE) AND 128 then
   Print "Carrier Detected, COM1:"
endif
if INP(&H2FE) AND 128 then
   Print "Carrier Detected, COM2:"
endif


--- VP [DOS] V4.09e
 * Origin: The MailMan  (914)374-3903 NY Quick Share Pt #7 *HST (1:272/34)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET