[lazarus] Two FPC questions

Sebastian Günther sguenther at gmx.de
Tue Sep 10 13:31:53 EDT 2002

Michael.VanCanneyt at wisa.be schrieb:
> FormatC can easily be implemented and added to SysUtils. If you implement
> it, I can add it.

ehm... but in C, things like \t are just converted to their ASCII 
representation by the compiler and get stored as such in the binary. I 
would suggest to just add a helper function which converts strings with 
C-like escaped characters to a normal string, instead of writing 
high-level functions such as FormatC. (something like EscapeC/UnescapeC; 
the same could be done for other escaping schemes as well)

- Sebastian

More information about the Lazarus mailing list