Skip to content

Category Console Functions

Paul Squires edited this page Oct 19, 2026 · 2 revisions

Home › All Categories › Console Functions

Console Functions

Grouped by task. Console and terminal lists them beside the rest of the area.

Print text to the console

Function What it does From
Print Writes values to the console, then a new line unless it ends with a comma or semicolon. built-in
Print Using Writes values formatted by a template such as "##.##" or "&". built-in
Write Writes values separated by commas, with strings in double quotes. built-in
Spc Skips a number of columns inside a Print, leaving those cells unchanged. built-in
Tab Moves to a column inside a Print, on the next line if already past it. built-in

Clear, position and colour console text

Function What it does From
Cls Clears the screen, or only the text or graphics viewport. built-in
Locate Moves the text cursor to a row and column, and can show or hide it. built-in
CsrLin Returns the row the cursor is on, counting from 1 at the top. built-in
Pos Returns the column the cursor is in, counting from 1 at the left. built-in
Color Sets the colours for text printed from now on, and returns the previous ones. built-in
Width Sets or returns the number of columns and rows of the console. built-in
View Print Limits printing and scrolling to a range of rows, or to the whole screen again. built-in
Screen Returns the character, or its colour, at a row and column of the console. built-in

Also in this category


Home · Keyword Index

Clone this wiki locally