Re: Help with com routine

 BBS: Inland Empire Archive
Date: 03-31-92 (07:08)             Number: 181
From: BOB PERKINS                  Refer#: NONE
  To: TRENT SHIRLEY                 Recvd: NO  
Subj: Re: Help with com routine      Conf: (2) Quik_Bas
 TS> I dont seem to be able to use a variable to open the com
 TS> port, and was hoping someone could tell me how to do this,
 TS> or an alternate way to acheive the same purpose.

  What happens when you try to use a variable?  The open
statement below works just fine here.  If you're getting a
device timeout error try using "cs0,ds0" in your open
statement.

  comport$ = "com1:2400,n,8,1,cs0,ds0"
  OPEN comport$ FOR RANDOM AS #1



--- Msg V4.5
 * Origin: Reciprocity Failure  (1:124/4115.236)
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