Results 1 to 3 of 3

Thread: qbasic: open "com1"

  1. #1
    imbue
    Guest

    qbasic: open "com1"

    i need to send a file from one computer to another by a cable (9-pin or 25-pin)

    i heard of the open com statement in qbasic but i dont know how it works

    please help

  2. #2
    Lively Member
    Join Date
    Oct 2000
    Location
    Leicestershire; ENGLAND
    Posts
    71
    I am relying on memory now but...

    MyFile=Freefile
    Open "COM1:96,N,8,1" for binary as #MyFile

    opens COM1 at 9600 with no parity, 8 data bits and 1 stop bit. Unfortunately, it relys upon the operating system to do this and struggles under NT/2000. Additionally, last time I used it, 9600 baud was the fastest you coud go.

  3. #3
    Hyperactive Member mastermind94's Avatar
    Join Date
    Jun 2000
    Location
    Montréal, Canada
    Posts
    441
    Depending on the QBasic version you are using. I did 115200Bps with Qbasic Extended 7.0....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width