Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-07 Thread Graeme Geldenhuys
On 7 March 2012 11:20, Bart wrote: > > You're writing (code/docs) faster than I can think ;-) Yeah, I'm jealous about that too. Maybe he perfected his clones - mine went totally haywire after a while! :-) -- Regards,   - Graeme - ___ fpGUI - a

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-07 Thread Bart
On 3/7/12, michael.vancann...@wisa.be wrote: > No need. I already fixed the docs. You're writing (code/docs) faster than I can think ;-) Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-06 Thread michael . vancanneyt
On Wed, 7 Mar 2012, Graeme Geldenhuys wrote: On 6 March 2012 18:12, Bernd wrote: The documentation is incorrect. It says: As usual, please file a 'FPC >> Docs' bug report so the issue doesn't get forgotten. It should be auto-assigned to Michael van Canneyt. Supplying a documentation patch

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-06 Thread Graeme Geldenhuys
On 6 March 2012 18:12, Bernd wrote: > The documentation is incorrect. It says: As usual, please file a 'FPC >> Docs' bug report so the issue doesn't get forgotten. It should be auto-assigned to Michael van Canneyt. Supplying a documentation patch is always nice too. -- Regards,   - Graeme -

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-06 Thread Bart
On 3/6/12, Bernd wrote: > The documentation is incorrect. It says: > Yes, and I misread the actual implementation. I was too lazy to write a test program. I really shouldn't post "bugs" after 23:00 (local time). Sorry for wasting your time. Bart ___ f

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-06 Thread patspiper
On 06/03/12 11:00, michael.vancann...@wisa.be wrote: On Mon, 5 Mar 2012, Bart wrote: Hi, Brought up in Lazarus forums. Fpc Trim(): Trim whitespace from the ends of a string. Delphi Trim(): Trims leading and trailing spaces and control characters from a string. Depends on what you mean by

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-06 Thread Bernd
The documentation is incorrect. It says: "Description Trim strips blank characters (spaces) at the beginning and end of S and returns the resulting string. Only #32 characters are stripped. " But it will strip everything <= #32, not only #32 as the documentation suggests. The same error is in th

Re: [fpc-pascal] Trim(): incompatibility with Delphi

2012-03-06 Thread michael . vancanneyt
On Mon, 5 Mar 2012, Bart wrote: Hi, Brought up in Lazarus forums. Fpc Trim(): Trim whitespace from the ends of a string. Delphi Trim(): Trims leading and trailing spaces and control characters from a string. Depends on what you mean by whitespace, of course. FPC strips everything below Or

[fpc-pascal] Trim(): incompatibility with Delphi

2012-03-05 Thread Bart
Hi, Brought up in Lazarus forums. Fpc Trim(): Trim whitespace from the ends of a string. Delphi Trim(): Trims leading and trailing spaces and control characters from a string. Bug or by design? Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepas