home *** CD-ROM | disk | FTP | other *** search
- d4buf_init(131072,65536,1024); // Try to allocate 128k for use by
- // the system. If this fails decrease by
- // 1k increments until success or
- // the 64k lower limit is reached.
- d4buf_total(500, 25, 1); // Now give enough memory to the
- // currently selected data base to
- // provide enough room for 500
- // records in 25 buffers
- d4buf_unit(20); // Make each buffer big enough to
- // hold 20 records.