Text.maxcol

OpenTuring

Text.maxcolPart of Text module

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.

Status   Exported unqualified.

This means that you can call the function by calling maxcol or by calling Text.maxcol.

See also   Text.Locate procedure for an example of the use of maxcol.