Re: Ending Comunications

 BBS: Inland Empire Archive
Date: 03-18-92 (00:00)             Number: 50
From: KEVIN NEWELL                 Refer#: NONE
  To: MIKE CLARK                    Recvd: NO  
Subj: Re: Ending Comunications       Conf: (2) Quik_Bas
Hello Mike!

In a msg of <16 Mar 92>, Mike Clark writes to All:

 MC> I have had a problem when using communications with QuickBASIC.  I
 MC> don't what it to hang up the phone when exit a program.  I have tried
 MC> a library called BASWIZ, but it has a ton of stuff that doesn't
 MC> partain to communications that I don't want.  Also I am having
 MC> problems print to the comport with this library.  I tried using PRINT
 MC> #1,....., but it tells me that there is not a file open to that
 MC> number.  (BASWIZ has it's own open functions ect., so I have to
 MC> control over the number it is opened to!).  If anyone can give me some
 MC> ideas that might work with this library or has a library that will let
 MC> you exit a program without hanging up please let me know.  The hole
 MC> reason I am using BASWIZ it becuase it allows you to leave a program
 MC> without hanging up if you wre wondering why I am using BASWIZ.

Just use normal QB and RIGHT AFTER closing the Comport, add one of these

OUT &H3FC, 3     'Com port 1
OUT &H2FC, 3     'Com port 2
OUT &H3EC, 3     'Com port 3
OUT &H2EC, 3     'Com port 4

Hope this helps...

Chat Later!

    GoldED 2.31p

--- WM v2.01/91-0031
 * Origin: The Amalgamated BBS - Palatine, IL  708-991-7112 (1:115/211)
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