Re: [fpc-pascal] function Copy is inconsistent with Delphi

2007-01-16 Thread Florian Klaempfl
Michael Van Canneyt schrieb: > > For dynamic arrays, I don't think FPC has a similar function. It has. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] function Copy is inconsistent with Delphi

2007-01-16 Thread Michael Van Canneyt
On Tue, 16 Jan 2007, Alexander Todorov wrote: > 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

[fpc-pascal] function Copy is inconsistent with Delphi

2007-01-16 Thread Alexander Todorov
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 the