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:
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?
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
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:
: [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
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