Re: [lazarus] StringReplace - TReplaceFlags

2007-05-24 Thread Darmawan Sugiarto
May be this StringReplace(s,'something','somethingElse',[rfReplaceAll]); Alvise Nicoletti [EMAIL PROTECTED] wrote: Sorry but I really don't understand this: StringReplace(s,'something','somethingElse',rfReplaceAll); servizio_server.pas(65,39) Error: Incompatible type for arg no. 4:

[lazarus] StringReplace - TReplaceFlags

2007-05-23 Thread Alvise Nicoletti
Sorry but I really don't understand this: StringReplace(s,'something','somethingElse',rfReplaceAll); servizio_server.pas(65,39) Error: Incompatible type for arg no. 4: Got enumeration type, expected TReplaceFlags What's that??? Shouldn't that work?

Re: [lazarus] StringReplace - TReplaceFlags

2007-05-23 Thread Horacio Jamilis
Try StringReplace(s,'something','somethingElse',[rfReplaceAll]); The last parameter is a set... I guess :-) Horacio - Original Message - From: Alvise Nicoletti [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Wednesday, May 23, 2007 12:35 PM Subject: [lazarus] StringReplace

Re: [lazarus] StringReplace - TReplaceFlags

2007-05-23 Thread Joost van der Sluis
It expects a set. Try: StringReplace(s,'something','somethingElse',[rfReplaceAll]); On Wed, 2007-05-23 at 17:35 +0200, Alvise Nicoletti wrote: Sorry but I really don't understand this: StringReplace(s,'something','somethingElse',rfReplaceAll); servizio_server.pas(65,39) Error:

Re: [lazarus] StringReplace - TReplaceFlags

2007-05-23 Thread Alvise Nicoletti
: [lazarus] StringReplace - TReplaceFlags Sorry but I really don't understand this: StringReplace(s,'something','somethingElse',rfReplaceAll); servizio_server.pas(65,39) Error: Incompatible type for arg no. 4: Got enumeration type, expected TReplaceFlags What's that??? Shouldn't

Re: [lazarus] StringReplace - TReplaceFlags

2007-05-23 Thread Henry Vermaak
On 23/05/07, Alvise Nicoletti [EMAIL PROTECTED] wrote: :O Sorry, I didn't sleep tonight :O *hits himself with a nailed whip* kinky, although not really my thing ;) _ To unsubscribe: mail [EMAIL PROTECTED] with