[fpc-pascal] Type of file mode variable
Jürgen Hestermann
juergen.hestermann at gmx.de
Thu Mar 17 19:24:03 CET 2011
Jonas Maebe schrieb:
> On 17 Mar 2011, at 19:07, Jürgen Hestermann wrote:
>
>> If I assign "Filemode := fmInOut" I get a constant range check error (at compilation time) which is clear because all constants are larger than byte.
>> Is this a bug?
>>
> No. See http://www.freepascal.org/faq.var#filemode for more info.
>
>
>
I didn't find "fminout" and the other constants mentioned at this link.
Are they not for assigning to filemode?
More information about the fpc-pascal
mailing list