>Hello all...
>
>Once again I am doing maintenance on a 2.6 program with no plans to update the code in the near future. I'm trying to get 2 lines of output to line up on the page it prints.
>
>The programs code:
>? name
>? address
>? city + ' ' + state
>
>However, I would like to add another address to the right hand side of the screen. When I do this, the left hand side of the new address is never straigt. I've tried swiching the code to:
>...
I prefer using "?" and "??". Consider this my personal preference - I may be wrong, but find it easier to manage.
I usually produce a text-file with "?" and "??", and then send printer codes + the text-file to the printer with "???".
"?" produces a line-break before producing output.
"??" continues in the same line.
You can use padr(), padl() and padc(), to produce fixed-length output. This may be important for some allignment situations.
HTH,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)