[comp.lang.pascal] A Query Regarding Number of Open Files in Turbo-Pascal

limburg@batcomputer.tn.cornell.edu (Karin Limburg) (08/02/87)

A friend of mine (seriously!) has a programming problem with Turbo-Pascal.  Can somebody post an e-mail response to this query?  The question concerns the number of files that can be opened simultaneously under DOS 3.0 using Turbo Version 3. He has used the {$F} compiler directive in his code to set the number of open files to 25 (i.e. {$F25} ).  In the CONFIG.SYS file he set files=35 and buffers=40.  The Turbo compiler gives no error messages, but the program crashes after 15 files have been opened, (not 







16 as default is specified in the manual).  What gives?  Any help much appreciated.
                                        
Also, DOS apparently doesn't complain about the number of files open until you exceed 255.

                                                  Karin Limburg
                                 limburg@tcgould.tn.cornell.edu  or
                                 apij@cornella.bitnet