home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / trl14db.zip / TRLPRG.EXE / CENTER.PRG < prev    next >
Text File  |  1990-10-22  |  536b  |  22 lines

  1. ***********
  2. * CENTER.PRG
  3. * by Tom Rettig and Leonard Zerman
  4. * Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
  5. *
  6. * SYNTAX: DO CENTER WITH <string>, <width> 
  7. * RETURN: <expC> of <string> with enough leading blanks added 
  8. *         to center in <width>.
  9. ***********
  10. PARAMETERS par1, par2 
  11. CALL Trpass  WITH par1
  12. CALL Trpass  WITH par2
  13. CALL Trexe   WITH "CENTER"
  14. CALL Trexe   WITH "TRRETCLEN"
  15. IF fox
  16.    PRIVATE tr_temp
  17.    tr_temp = SUBSTR(tr_retc,1,tr_retn)
  18.    RETURN (tr_temp)
  19. ENDIF
  20. * eof center * 
  21.  
  22.