Text

OpenTuring

Text

Description   This unit contains the predefined subprograms that handle character (text) output on the screen (i.e. output using put).

All routines in the Text unit are exported qualified (and thus must be prefaced with "Text.") with the exception of maxrow and maxcol which are exported unqualified.

Entry Points  
Cls Clears the screen to the text background color.
Color Sets the text color used by put.
Colour Sets the text color used by put.
ColorBack Sets the text background color used by put.
ColourBack Sets the text background color used by put.
Locate Moves the cursor to the specified row and column.
LocateXY Moves the cursor to the cursor location closest to a specified pixel position.
maxcol The number of columns on the screen (exported unqualified).
maxrow The number of rows on the screen (exported unqualified).
WhatRow Returns the current cursor row.
WhatCol Returns the current cursor column.
WhatColor Returns the current text color.
WhatColour Returns the current text color.
WhatColorBack Returns the current text background color.
WhatColourBack Returns the current text background color.