home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
prog
/
ks94an.arj
/
CTR.HDR
< prev
next >
Wrap
Text File
|
1994-04-24
|
1KB
|
38 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Ctr( nCtrLine, cCtrMsg, lCtrClearLine ) --> NIL
PARAMETERS:
nCtrLine : Screen Line Number
cCtrMsg : Text to be centered
lCtrClr : Logical indicating whether to clear line or not
TRUE = Clear Line (default) , FALSE = No Line Clear
SHORT:
Center a string on given line, optionally clearing line first.
DESCRIPTION:
_Ctr() Centers a string on a specified screen line. Optionally after
clearing the entire line.
NOTE:
See also CtrVar() which centers a string inside it's own length.
EXAMPLE:
_Ctr(24,'THIS IS A STRING',TRUE)
Result: "THIS IS A STRING" is centered on line 24 after clearing line 24
the third parameter is optional and defaults to TRUE.
******************************************************************************/