Dec 212017
 
Clipper S87 UDF to center a string. Can be used with reports or screens.
File CENTER.ZIP from The Programmer’s Corner in
Category Dbase Source Code
Clipper S87 UDF to center a string. Can be used with reports or screens.
File Name File Size Zip Size Zip Type
CENTER.DOC 794 408 deflated
CENTER.UDF 736 394 deflated

Download File CENTER.ZIP Here

Contents of the CENTER.DOC file


CENTER() Clipper UDF
---------------------------------------------------
Scott Borman-Allen
06/14/1989

Purpose..: Allow centering of text strings by specifying
the line number, the string, and the total line length

Syntax...: CENTER(line number,string,line length)

Examples.: CENTER(2,"MAIN MENU",80) to center a screen title
CENTER(2,"SALES REVENUE REPORT",132) to center the
title of a 132-column report

CENTER is a convenient way of centering test information on
a screen or report without going through tedious manual calculations
to identify the correct @..SAY position(s). Simply pass your
line number, literal string, and line-length, and let CENTER
figure out the correct placememt.




 December 21, 2017  Add comments

Leave a Reply