Console Functions

FreeBASIC

Console Functions
 
Procedures that work with the console.

Description

These procedures provide ways to output text to the console, as well as control where and how text is output.

Configuring the Console
Statements that affect how text is displayed.
Cursor Color and Positioning
Procedures that move the cursor and change its color.
Writing Text to the Console
Procedures that output text to the console.

Configuring the Console
Cls
Clears the entire screen or text viewport.
Width
Sets or returns the number of rows and columns of the console display.
View Print
Sets the printable area of the console screen.

Cursor Color and Positioning
Color
Changes the foreground and background color of text to be written.
CsrLin
Returns the row position of the cursor.
Pos
Returns the column position of the cursor.
Locate
Sets the row and column position of the cursor and its visibility.
Screen (Console)
Gets the character or color attribute at a given location.
Writing Text to the Console
Print
?
Writes text to the console.
Print Using
? Using
Writes formatted text to the console.
Write
Writes a list of items to the console.
Spc
Skips a number of spaces when writing text.
Tab
Skips to a certain column when writing text.