On 25 Nov 2012 at 16:31, Baudouin Le Charlier wrote:
Le 25 nov. 2012 à 15:13, Prof A Olowofoyeku (The African Chief) a écrit :
On 25 Nov 2012 at 12:13, Baudouin Le Charlier wrote:
It seems that {$I-} is not enough to disable the automatic handling of IO errors.
I doesn't disable error checking. It just stops it from automatically terminating the program immediately it encounters an I/O error.
That's what I finally guessed but not what was explained in the documentation I could find.
IOResult and {$I-/+} are Borland Pascal/Delphi compatibility issues. It stands to reason that expect that anyone who wants to use non-standard features (i.e., Borland Pascal/Delphi features) would have sufficient knowledge of Borland Pascal/Delphi to appreciate how those features are meant to be used.
This is a historical factor, and there was no need to duplicate features that Borland already documented well, and which were well known to Borland Pascal/Delphi programmers.
Perhaps someone should now duplicate that information - but I doubt whether it would be a sensible use of anyone's time. Just find the Borland Pascal and Delphi help files (freely available on the net), and you would find full documentation of these features. Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/