home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
TEXT
/
TM12_TIP.ZIP
/
529.TXT
< prev
next >
Wrap
Text File
|
1991-12-18
|
799b
|
17 lines
Q: How do I print right-justified columns of field information from the
word-processor? (Or, more simply put, how can I get columns to line
up flush on the right side instead of the left side?)
A: For example, lets assume that fields US5 and US6 are dollar amounts
that must be lined up in a report such that the decimal points are
directly in line with each other and you want to print them opposite
US3 and US4 (which could be related to them). Lets also assume that
you want this right-justified column to terminate at col 65. The
document would look like this:
\ /[us3] \ /[&space(65-len(trim(us5)))+trim(us5)]
\ /[us4] \ /[&space(65-len(trim(us6)))+trim(us6)]
END 529 [DRM] 03/06/91
indexed on: columnar output/right-justified/word-pro