Skip to content
Tristan Hume edited this page Apr 23, 2012 · 3 revisions

#Text.maxcol

##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.html procedure.html for an example of the use of maxcol.html.

Clone this wiki locally