> > procedure replace(search: String; replace: String; var s: String);
> > procedure replace(const chars: array of char; replace: String; var s:
String);
>
> A string, or a array of char?

James, this (as Marco put it) was exactly what I had in mind. The compiler
will have to make a decision, and as a string is implicitly and array of
sorts, you most likely get this error.

If you had tried my advice,  you would have realised this was the case quite
quickly. I was going for the school of hard knocks version of the answer,
rather than handing it to you on a plate :P

Matt



_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to