MAXCOL()

Returns the maximun number of columns in the current video mode

Syntax

MAXCOL() --> nPosition

Arguments

None.

Returns

<nPosition> The maximun number of columns possible in current video mode

Description

This function returns the current cursor column position.The value for this function can range between 0 and MAXCOL().
Examples
      ? MAXCol()
Status

Ready

Compliance

This Functions is Ca-Clipper compliant.

Platforms

It works in all platform with some remarks:Under Linux and OS/2 the number of columns avaliable depends of the current Terminal screen size.Under Win32, the return value of MAXCOL() function is only affected if called after an SETMODE() function

Files

Library is rtl

See Also