home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / prog / ks94an.arj / CTR.HDR < prev    next >
Text File  |  1994-04-24  |  1KB  |  38 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _Ctr( nCtrLine, cCtrMsg, lCtrClearLine ) --> NIL
  8.  
  9. PARAMETERS:
  10.  
  11. nCtrLine : Screen Line Number
  12. cCtrMsg  : Text to be centered
  13. lCtrClr  : Logical indicating whether to clear line or not
  14.            TRUE = Clear Line (default) , FALSE = No Line Clear
  15.  
  16. SHORT:
  17.  
  18. Center a string on given line, optionally clearing line first.
  19.  
  20. DESCRIPTION:
  21.  
  22. _Ctr() Centers a string on a specified screen line.  Optionally after
  23. clearing the entire line.
  24.  
  25.  
  26. NOTE:
  27.  
  28. See also CtrVar() which centers a string inside it's own length.
  29.  
  30. EXAMPLE:
  31.  
  32. _Ctr(24,'THIS IS A STRING',TRUE)
  33.  
  34. Result: "THIS IS A STRING" is centered on line 24 after clearing line 24
  35. the third parameter is optional and defaults to TRUE.
  36.  
  37. ******************************************************************************/
  38.