Hi all,
I just installed on a fresh Linux Fedora 14 the fpc rpm via yum, which
installed fpc 2.4.0.
Then I downloaded from www.freepascal.org the rpm for fpc 2.4.2 and
installed it via upgrade function (rpm -Uvh fpc-2.4.2-1.i686.rpm).
To my surprise this renamed the /etc/fpc.cfg to /etc/fpc.cfg.or
On 17 Mar 2011, at 12:20, Mattias Gaertner wrote:
I just installed on a fresh Linux Fedora 14 the fpc rpm via yum, which
installed fpc 2.4.0.
Then I downloaded from www.freepascal.org the rpm for fpc 2.4.2 and
installed it via upgrade function (rpm -Uvh fpc-2.4.2-1.i686.rpm).
To my surprise thi
Al 17/03/11 12:20, En/na Mattias Gaertner ha escrit:
> Hi all,
>
> I just installed on a fresh Linux Fedora 14 the fpc rpm via yum, which
> installed fpc 2.4.0.
> Then I downloaded from www.freepascal.org the rpm for fpc 2.4.2 and
> installed it via upgrade function (rpm -Uvh fpc-2.4.2-1.i686.rpm)
In the file \lazarus\fpc\2.4.3\source\rtl\inc\systemh.inc I found the
following definitions:
{ file input modes }
fmClosed = $D7B0;
fmInput = $D7B1;
fmOutput = $D7B2;
fmInOut = $D7B3;
fmAppend = $D7B4;
Filemode : byte = 2;
If I assign "Filemode := fmInOut" I get a constant range check e
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.
Jonas
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#filem
On 17 Mar 2011, at 19:24, Jürgen Hestermann wrote:
> 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.
>>> I
Jonas Maebe schrieb:
>> I didn't find "fminout" and the other constants mentioned at this link.
> It describes the values you can assign to filemode and their effect.
Does that mean, that only 3 values for filemode (0, 1 and 2) exist?
Then it is quite confusing to group the filemode declaration a