Formatted printing (D5.1 and D6)
Posted by Peter Kenny-2 on Mar 25, 2006; 6:55pm
URL: https://forum.world.st/Formatted-printing-D5-1-and-D6-tp3378016.html
Hello all
I have been struggling to produce neatly formatted numerical output where
the figures line up in columns. I even feel nostalgic for the Fortran FORMAT
statement, which I never expected to say! Following a search for 'format' in
methods, I found the String>>sprintf: methods, which lead to the CRT
Library. Here we have the methods:
CRTLibrary>>_snprintf:count:format:with:
CRTLibrary>>_snprintf:count:format:with:with:
both of which have the comment line:
" see _snprintf:count:format:with:with:with: for further information."
I can't find any reference to this method. Could anyone tell me where to
start looking, please?
(And shouldn't the comment be updated?)
Thanks and best wishes
Peter Kenny