Re: column aligmnent %4d versus %d
- Posted by jessedavis Jul 02, 2016
- 1536 views
I still think the best way is to use position to force the line to be straight.
I included a small code I whipped up real fast.
You can substitute your own data for Col%d.
Don Cole
Sorry all, I've been away for the last week.
I must be completely missing what you are saying. I am not printing to the console screen. I am printing to a win32lib page which is then sent to the printer. It is the only way I know to print to an modern inkjet printer. If I were printing to a dot matrix, teletype or chain belt printer the standard %d euphoria format routine would probably work OK. Position(x,y) is not a win32lib routine. wPuts() is the equivalent of puts(); but sends the output to the 'pseudo-page'. See code, above, for more insight.
Thanks for your help.