Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Graeme Geldenhuys
On 2011-11-21 08:59, Frank Church wrote: adapterVals: TStringList adapterVals.Delimiter := ';'; adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space'; I take it this is a typo, and you ment to have the comma's as semi-colons. adapterVals[2] = 'Word' - this should be

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread michael . vancanneyt
On Mon, 21 Nov 2011, Frank Church wrote: adapterVals: TStringList adapterVals.Delimiter := ';'; adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space'; adapterVals[0] = '192.168.1.2' adapterVals[1] = '00:0E:08:E0:7C:ED' adapterVals[2] = 'Word' - this should be 'Word Space'

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Marco van de Voort
In our previous episode, Frank Church said: adapterVals: TStringList adapterVals.Delimiter := ';'; adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space'; adapterVals[0] = '192.168.1.2' adapterVals[1] = '00:0E:08:E0:7C:ED' adapterVals[2] = 'Word' - this should be 'Word

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread michael . vancanneyt
On Mon, 21 Nov 2011, michael.vancann...@wisa.be wrote: On Mon, 21 Nov 2011, Frank Church wrote: adapterVals: TStringList adapterVals.Delimiter := ';'; adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space'; adapterVals[0] = '192.168.1.2' adapterVals[1] =

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Graeme Geldenhuys
On 2011-11-21 10:28, michael.vancann...@wisa.be wrote: A space is always treated special. Where in the Delphi documentation does it mention that? I couldn't find any such reference in the Delphi 7 docs, and I thought FPC implements behaviour based on documented behaviour, not implementation

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread michael . vancanneyt
On Mon, 21 Nov 2011, Graeme Geldenhuys wrote: On 2011-11-21 10:28, michael.vancann...@wisa.be wrote: A space is always treated special. Where in the Delphi documentation does it mention that? I couldn't find any such reference in the Delphi 7 docs, and I thought FPC implements behaviour

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Graeme Geldenhuys
On 2011-11-21 11:17, michael.vancanneyt@w. wrote: Where in the Delphi documentation does it mention that? I couldn't find any such reference in the Delphi 7 docs, and I thought FPC implements behaviour based on documented behaviour, not implementation behaviour? Sure. See the

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread michael . vancanneyt
On Mon, 21 Nov 2011, Graeme Geldenhuys wrote: On 2011-11-21 11:17, michael.vancanneyt@w. wrote: Where in the Delphi documentation does it mention that? I couldn't find any such reference in the Delphi 7 docs, and I thought FPC implements behaviour based on documented behaviour, not

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Graeme Geldenhuys
On 2011-11-21 12:06, michael.vancann...@wisa.be wrote: But we're not here to discuss the merits/disadvantages of the Delphi docs :-) Indeed. I double checked the FPC documentation, and it is perfectly clear and simple to understand. Makes me wonder why I even bothered to read the Delphi docs.

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Frank Church
On 21 November 2011 10:06, michael.vancann...@wisa.be wrote: On Mon, 21 Nov 2011, Graeme Geldenhuys wrote: On 2011-11-21 11:17, michael.vancanneyt@w. wrote: Where in the Delphi documentation does it mention that? I couldn't find any such reference in the Delphi 7 docs, and I thought