Hello,
i am converting a big Delphi project a part of uses a lexical parser.
It is dependent on the Copy function which in Delphi is declared:

function Copy(S; Index, Count: Integer): string;

and in FPC it is:

function Copy(const s: string; FromPosition, ToPosition : integer): String;


Why there are different declarations? I see that the FPC variant is
used in a lot of places and it is not likely that it will be changed
to be compatible with Delphi.

Thanks to all.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to