Re: QB help with disk fil

 BBS: Inland Empire Archive
Date: 04-15-92 (16:23)             Number: 175
From: DICK DENNISON                Refer#: NONE
  To: RICHARD VANNOY                Recvd: NO  
Subj: Re: QB help with disk fil      Conf: (2) Quik_Bas
DS> OPEN the sixteenth file.  My autoexe.bat has FILES=50 BUFFERS=30.
DS>Shouldnt QB4.5 be able to open more than 15 files at one time?

RV> The limitation is inside QB which only allows 15 at a time,
RV> even though the file numbers can be from 1 to 255.

'$include:'qb.bi'
dim regs as regtype
regs.ax = &h67 * 256
regs.bx = 40              'number of files to have open
interrupt &h21,regs,regs

'That should do it for a few more files, but will be limited by dos's
space available in it's file's handle's table.  IOW, this is a cheap
solution and a more elegant solution is available.


--- VP [DOS] V4.09e
 * Origin: New York Quick Share Point * HST (914)374-3903 (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