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 >
Text File  |  1991-12-18  |  799b  |  17 lines

  1. Q: How do I print right-justified columns of field information from the
  2.    word-processor?  (Or, more simply put, how can I get columns to line
  3.    up flush on the right side instead of the left side?)
  4.  
  5. A: For example, lets assume that fields US5 and US6 are dollar amounts
  6.    that must be lined up in a report such that the decimal points are
  7.    directly in line with each other and you want to print them opposite
  8.    US3 and US4 (which could be related to them).  Lets also assume that
  9.    you want this right-justified column to terminate at col 65.  The
  10.    document would look like this:
  11.  
  12.    \ /[us3] \ /[&space(65-len(trim(us5)))+trim(us5)]
  13.    \ /[us4] \ /[&space(65-len(trim(us6)))+trim(us6)]
  14.  
  15.    END 529  [DRM]     03/06/91
  16.    indexed on: columnar output/right-justified/word-pro
  17.