Am 31.10.2021 um 12:20 schrieb Ryan Joseph via fpc-pascal:
On Oct 31, 2021, at 2:53 PM, Jonas Maebe via fpc-pascal
wrote:
The compiler itself does enable them by the default on any platform. However,
the fpc.cfg file that gets installed with FPC on all platforms does enable them
by default
> On Oct 31, 2021, at 2:53 PM, Jonas Maebe via fpc-pascal
> wrote:
>
> The compiler itself does enable them by the default on any platform. However,
> the fpc.cfg file that gets installed with FPC on all platforms does enable
> them by default (it contains -Sgic). Compile with -vt and check
Jonas Maebe via fpc-pascal schrieb am
So., 31. Okt. 2021, 08:54:
> On 31/10/2021 05:35, Ryan Joseph via fpc-pascal wrote:
> > I thought they were behind a mode switch called "c operators" or
> something but either way I don't see why Windows would disable them.
>
> The compiler itself does enable
On 31/10/2021 05:35, Ryan Joseph via fpc-pascal wrote:
I thought they were behind a mode switch called "c operators" or something but
either way I don't see why Windows would disable them.
The compiler itself does enable them by the default on any platform.
However, the fpc.cfg file that gets
> On Oct 31, 2021, at 10:50 AM, Alexander Grotewohl via fpc-pascal
> wrote:
>
> Because += is a mistake and hopefully it's irreparably broken.
>
> Does using just s:=s+';'; work?
>
I thought they were behind a mode switch called "c operators" or something but
either way I don't see why Win
To: FPC-Pascal users discussions
Cc: Hairy Pixels
Subject: [fpc-pascal] String error on Windows
Why isn't this syntax valid on Windows? Very confused.
{$mode objfpc}
program WindowsTest;
var
s: String;
begin
s += ';';// Syntax error, ";&q
Why isn't this syntax valid on Windows? Very confused.
{$mode objfpc}
program WindowsTest;
var
s: String;
begin
s += ';';// Syntax error, ";" expected but "const char" found
end.
___
fpc-pascal maillist - fpc-pascal