CENTER(<C string>, <N width in which to center string>)
Centers output without calculating its start position.
Returns <expC> of <string> with leading blanks added to center in <width>.

When used with the @...SAY command, the column number
should always be zero.

* Column is zero, <width> is screen size
@ ROW(), 0 SAY CENTER("Hello, world!", 80)

* Column is zero, <width> is printer form size
@ PROW(), 0 SAY CENTER("Hello, world!", 132)

* Unformatted output, <width> is screen size
? CENTER( STR(123.45, 6, 2), 80 )


Placed in the Public Domain by Tom Rettig Assoc.