[Lazarus] Default values for Top coordinate offsets for components in a visual container

Juha Manninen (gmail) juha.manninen62 at gmail.com
Thu Sep 9 12:35:29 CEST 2010


On Tue, Sep 07, 2010 at 02:53:32PM +0100, Lukasz Sokol wrote:
> Hi Group,
> 
> How should the TStringList behave when
> 
> Delimiter := ' ';
> QuoteChar := '"'; 
> 
> ?
> 
> On my 
> 
> Lazarus 0.9.28.2 r22279 FPC 2.2.4 i386-win32-win32/win64
> 
> when reading a line like this
> 
> Sep  3 16:27:32 router_ip src="internal IP:46987" dst="external_ip:64880" msg="Traffic Log" note="Traffic Log" devID="0019CBDF94A3" cat="Traffic Log" duration=300 send=168 rcvd=48 dir="LAN:WAN" protoID=17 proto="others" trans="Normal"
> 
> {the above should be one line}
> 
> I will obviously get the date split in 3 different Strings[], 
> !but! it also splits the 'msg="Traffic' and 'Log"' - is this correct ?

Yes. They are not quoted, since the first char after a separator is not a
quotechar. Only when the first char after a separator aggregate is a
quotechar, quotes are processed.

Afaik TStringlist doesn't support stuff like this. 




More information about the Lazarus mailing list