Comm questios

 BBS: Inland Empire Archive
Date: 07-27-92 (17:26)             Number: 188
From: DAVE CLEARY                  Refer#: NONE
  To: JOHN GALLAS                   Recvd: NO  
Subj: Comm questios                  Conf: (2) Quik_Bas
In a message of <23 Jul 92 12:47:58>, John Gallas (1:282/90) writes:

 >Is is possible to make QB ignore some errors without using  ON ERROR?
 >For example, I want to be able to ignore buffer overflows (after using an
 >OPEN COM statement), device I/O errors (like when somebody turns off the
 >modem..) and basically all of the standard errors that occur when using
 >QB's internal comm routines.  Can I get around them?  And can I still
 >catch the error code so I can try to fix it?

There is no way to avoid ON ERROR when using QB's
communications. However, if you limit all your com i/o in a
separate module, you can get away with only compiling that
module with /E/X and not cause your entire program to bloat
because of it.

Later           Dave


--- msged 1.99S ZTC
 * Origin: Home of The QBNews (fidonet.org 1:141/777.1)
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