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: Incompatible type for arg no. 4: Got > "<enumeration type>", expected "TReplaceFlags" > > What's that??? > > Shouldn't that work? > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives