Quote:
Originally Posted by Sebastian
Someone knows why fBuff has to be initialised as a global variable? I tried to define it in format(), and it messed up the display.
|
By making fBuff global, you don't need to pass the pointer each time you call format().
I also have a modified format() in the Code Hacks wiki, that you can play with. It might be a little tighter, I dont know. It doesnt support negative numbers, but does have leading blanks instead of zeros, and has flexible decimal places. It might not be easy to find, as it's only a small part of a huge hack.