Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.pascal.borland    |    Borland Pascal was actually pretty neat    |    2,978 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,921 of 2,978    |
|    Dr Engelbert Buxbaum to Femme Verbeek    |
|    Re: Check for locked file in TP    |
|    12 Oct 05 12:34:02    |
   
   From: engelbert_buxbaum@hotmail.com   
      
   Femme Verbeek wrote:   
      
      
   > Why so difficult?   
   >   
   > The standard way of preventing an IO crash in TP is by switching off   
   input/output checking   
   > code {$I-}   
   > In order to check the result call the IOResult function.   
   > Look for both of these in the TP help file. {shift F1}   
   > e.g.   
   >   
      
   > {$I-} {turn off IO error checking, }   
   >   
   >   
   > {$I+} {turn IO checking back on}   
      
   Even simpler: Turn of IO checking at the beginning of the program, and   
   leave it so. There is little point in having IO checking on when no IO   
   operation is in progress and switch it off before IO commences. Just   
   leave it off and assume the responsibility for error checking yourself.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca