[fpc-pascal] String error on Windows

Hairy Pixels genericptr at gmail.com
Sun Oct 31 04:09:49 CET 2021


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20211030/a969b47e/attachment.htm>


More information about the fpc-pascal mailing list