Frank Heckenbach wrote:
Waldek Hebisch wrote:
I have added "ReadString" to my version. Unfortunatly, "StringOf" requres some real effort so I can not do it quicky.
It might be doable similar to `FormatString' (in fact, reusing much of its implementation), which uses an RTS helper doing some heap stuff. Perhaps not the most elegant way, but it should not be a real problem, as calls cannot be nested (note: `FormatString (... FormatString (...) ...)' is no nested call in this sense, as the compiler copies the inner result to a temp variable).
I see. I have added "StringOf" now. I was able to reuse most of the code.