[fpc-pascal]RE: filemode info for fpc docn - was w2000 file opening

Jeff Wormsley daworm at cdc.net
Fri May 11 14:35:04 CEST 2001


On 05/11/2001 at 12:13 PM Peter Vreman wrote:

>Why do we need a new way?  The current filemode values all support opening modes
>correctly. 
>
>The only missing thing for easier accessing are the fm<Mode> constants in the system unit.
>I don't have tp here so i can't check the tp7 rtl for it. For delphi/kylix they are
>defined in Sysutils

In BP7, there is this:

{ File mode magic numbers }

  fmClosed = $D7B0;
  fmInput  = $D7B1;
  fmOutput = $D7B2;
  fmInOut  = $D7B3;

This what you are looking for?





More information about the fpc-pascal mailing list