[lazarus] Two FPC questions

Marco van de Voort marcov at stack.nl
Tue Sep 10 14:20:21 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)

Agree fully. 






More information about the Lazarus mailing list