maxcol

OpenTuring

maxcolmaximum column function

Syntax   maxcol : int

Description   The maxcol function is used to determine the number of columns on the screen.

Example   This program outputs the maximum column number.

        put "Number of columns on the screen is ", maxrow

Details   For IBM PC compatibles as well as most UNIX dumb terminals, in "text" or "screen" mode, maxcol = 80. For the default IBM PC compatible "graphics" mode (CGA), maxcol = 40.

See also   locate procedure for an example of the use of maxcol.