NumCol() - returns the number of columns in the application window
Returns number of available application window columns
──────────────────────────────────────────────────────────────────────────────

Syntax

NumCol() --> nColumns

Arguments

None

Returns

NumCol() returns the number of columns available in the application
window

Description

Use NumCol() to establish screen width to determine the line break for
output in the application window.

According to the orignal specification, this function is supposed to
return the number of columns in the active window. This is not the case.
Apprently it returns the physical number of columns that the screen has.
Our version returns the number of columns within the application window.

Notes

■ This function does not alter the cursor position.

Example

Column count:

? NumCol() // 80


Files: Library is MRWINDOW.LIB.