Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

MIDDLE( cString [, nWidth [, nOffset ]] )

Purpose

Centers strings by padding both ends with blanks.

Arguments

     cString -- item to display

     nWidth -- display area width, defaults to the maximum number of
                   columns your screen supports

     nOffset -- leftmost column of display area, default 0

Setup

None.

Example

     ? MIDDLE( "Report Menu", 40, 20  )

Returns

Padded string with cString in its centre.

Side Effects

None.

Artful Calls

IS_EVEN

Source File

AA_MIDDL.PRG

See Also: CENTRE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson