[lazarus] Two FPC questions

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sun Sep 8 07:18:45 EDT 2002




On Sun, 8 Sep 2002, Michal Bukovjan wrote:

> Hi,
>
> does Free Pascal has a string comparison function that respects locale
> collations? CompareAnsiString does not seem so...

It is not implemented. There is no easy portable way of doing this.

>
> And while at it, does Free Pascal supports formatting of c-like strings.
> I mean something like:
>
> writeln(FormatC('\t\t\tThis is a tabbed two-line\n string.'));
>
> That would be great, even neccesary for translation of multiline strings
> (*.po files).

FormatC can easily be implemented and added to SysUtils. If you implement
it, I can add it.

Michael.







More information about the Lazarus mailing list