Screen Text Commands

The following functions control the display of console text:

?

Write data to the current console text page (screen).

CLS

Clear the active console screen page.

COLOR

Set the foreground and background colors for displaying text.

CON.CAPTION$ <GET>

Retrieves the text which is currently displayed as the caption of the CONSOLE window.

CON.CAPTION$ <SET>

Changes the text which is currently displayed as the caption of the CONSOLE window.

CON.CELL <GET>

Retrieves the cursor (caret) position for the Console Window.

CON.CELL <SET>

Sets the cursor (caret) position on the Console Window.

CON.CELL.COL

Retrieves the cursors (caret) column position for the Console Window.

CON.CELL.ROW

Retrieves the cursors (caret) row position for the Console Window.

CON_CLS

The active console page is cleared to the current background color.

CON_COLOR

Sets the foreground and background colors which will be used to display text on the Console Window.

CON.CURSOR <GET>

Retrieves the size of the cursor (caret).

CON.CURSOR <SET>

Establishes the size of the cursor (caret).

CON.CURSOR.OFF

Makes the cursor invisible.

CON.CURSOR.ON

Makes the cursor visible.

CON.END

The Console Window currently attached to your program is released and detached from the process.

CON.FOCUS

Brings the Console Window to the foreground and directs the focus to it.

CON.GETSTDERR

Retrieves the handle of the standard error device.

CON.GETSTDIN

Retrieves the handle of the standard input device.

CON.GETSTDKBD

Retrieves the handle of the standard keyboard device.

CON.GETSTDOUT

Retrieves the handle of the standard output device.

CON.GETSTDVID

Retrieves the handle of the standard console specified video page.

CON.HANDLE

Retrieves the handle of the Console Window.

CON.IN

Determines whether Standard Input is being redirected.

CON.INKEY$

Reads a keyboard character or mouse event from the console input buffer.

CON.INPUT

Reads a line from the keyboard.

CON.INPUT.FLUSH

Removes all pending keyboard and mouse events from the console input buffer.

CON.INSHIFT

Returns a numeric value to tell you the state of the keyboard Shift, Ctrl and Alt keys.

CON.INSTAT

Determines whether a keyboard or mouse event is ready to be retrieved from the console input buffer.

CON.KEY

Assigns a string expression to a function key.

CON.KEY$

Retrieves and returns the string expression assigned to a function key.

CON.LINE.INPUT

Reads an entire line from the keyboard into a string variable.

CON.LOC <GET>

Retrieves the location of the console window on the screen.

CON.LOC <SET>

Moves the Console Window to a new location on the screen.

CON.LOC.X

Retrieves the horizontal location of the console window on the screen.

CON.LOC.Y

Retrieves the vertical location of the console window on the screen.

CON.LOCATE <GET>

Retrieves the cursor (caret) position for the Console Window.

CON.LOCATE <SET>

Sets the cursor (caret) position on the Console Window.

CON.LOCATE.COL

Retrieves the cursor (caret) column position for the Console Window.

CON.LOCATE.ROW

Retrieves the cursor (caret) row position for the Console Window.

CON.MOUSE

Defines which console mouse events and buttons should be trapped.

CON.MOUSE.BUTTONS

Returns the number of buttons on the system mouse.

CON.MOUSE.COL

Returns the column position of the mouse cursor.

CON.MOUSE.OFF

Disables mouse event trapping and the mouse cursor.

CON.MOUSE.ON

Enables mouse event trapping and the mouse cursor.

CON.MOUSE.ROW

Returns the row position of the mouse cursor.

CON.MOUSE.STAT

Determines whether a mouse event is ready to be retrieved from the console input buffer.

CON.NEW

A new Console Window is created and attached to your program.

CON.OUT

Determines whether Standard Output is being redirected.

CON.PAGE.ACTIVE <GET>

Retrieves the page number of the active console page.

CON.PAGE.ACTIVE <SET>

Sets the page number of the active console page.

CON.PAGE.VISIBLE <GET>

Retrieves the page number of the visible console page.

CON.PAGE.VISIBLE <SET>

Sets the page number of the visible console page.

CON.PCOPY

Copies all text from one console text page to another.

CON.PRINT

Write text data to the current console text page.

CON.SCREEN <GET>

Retrieves the size of the visible part of the Console Window.

CON.SCREEN <SET>

Changes the size of the visible Console Window.

CON.SCREEN.ATTR

Returns the attribute (color) of a character on the current console page (screen).

CON.SCREEN.CHAR

Returns the ASCII code of a character on the current console page (screen).

CON.SCREEN.COL

Retrieves the size of the visible part of the Console Window in columns.

CON.SCREEN.ROW

Retrieves the size of the visible part of the Console Window in rows.

CON.SCROLL.DOWN

Scrolls all or part of the current console page up.

CON.SCROLL.LEFT

Scrolls all or part of the current console page to the left.

CON.SCROLL.RIGHT

Scrolls all or part of the current console page to the right.

CON.SCROLL.UP

Scrolls all or part of the current console page down.

CON.SIZE

Retrieves the size of the Console Window.

CON.SIZE.X

Retrieves the horizontal size of the Console Window.

CON.SIZE.Y

Retrieves the vertical size of the Console Window.

CON.STDEOF

Determines whether the end of STANDARD INPUT has been reached.

CON.STDERR

Outputs a string expression to the standard error device.

CON.STDIN.LINE

Reads one line of text from the Standard Input Device.

CON.STDOUT

Outputs a string expression to the standard output device.

CON.VIEW <GET>

Retrieves the position of the viewable part of a virtual screen.

CON.VIEW <SET>

Sets the position of the viewable part of a virtual screen.

CON.VIEW.COL

Retrieves the column position of the viewable part of a virtual screen.

CON.VIEW.ROW

Retrieves the row position of the viewable part of a virtual screen.

CON.VIRTUAL <GET>

Retrieves the size of the screen buffers associated with the console window.

CON.VIRTUAL <SET>

Change the size of the screen buffer associated with the console window.

CON.VIRTUAL.COL

Retrieves the column size of the screen buffers associated with the console window.

CON.VIRTUAL.ROW

Retrieves the row size of the screen buffers associated with the console window.

CON.WAITKEY$

Reads a character, extended key, or mouse event from the console.

CON.WAITSTAT

Waits until a key is pressed or a mouse event occurs.

CONSNAME$

Return the name in the console window caption.

CONSOLE GET LOC

Retrieve the location of the console window on the screen.

CONSOLE GET SCREEN

Retrieve the size of the visible part of the console, in text rows and columns.

CONSOLE GET SIZE

Retrieve the size of the console window, in pixels.

CONSOLE GET VIEW

Retrieve the position of the viewable part of a virtual screen.

CONSOLE GET VIRTUAL

Retrieve the size of the screen buffers associated with the console window.

CONSOLE NAME

Set the name of the console window caption.

CONSOLE SET FOCUS

Bring the console window to the foreground and direct the focus to it.

CONSOLE SET LOC

Move the console window to a new location on the screen.

CONSOLE SET SCREEN

Change the size of the console window and its associated screen buffers.

CONSOLE SET VIEW

Set the position of the viewable part of a virtual screen.

CONSOLE SET VIRTUAL

Change the size of the buffers associated with the console window.

CONSOUT

Determine if standard output has been redirected.

CURSOR

Return the size status of the caret.

CURSOR

Set the caret size and visibility.

CURSORX

Return the current column of the caret.

CURSORY

Return the current row of the caret.

DESKTOP GET CLIENT

Retrieve the size of the client area of the desktop, in pixels.

DESKTOP GET LOC

Retrieve the location of the top, left corner of the client area of the desktop, in pixels.

DESKTOP GET SIZE

Retrieve the size of the entire desktop, in pixels.

GETSTDERR

Return the handle of the standard error device.

GETSTDOUT

Return the handle of the standard output device.

GETSTDVID

Return the handle of a nominated console video page.

INPUT

Read a line from the keyboard, assigning data to one or more variables.

LOCATE

Set the caret position.

PAGE 

Determine which of 8 console text pages is active and/or visible.

PAGEACTIVE

Return the current active console page number.

PAGEVISIBLE

Return the current visible console page number.

PCOPY

Copy all text from one console text page (screen) to another.

PRINT

Write data to the current console text page (screen).

SCREEN

Return the ASCII code of a character on the current console page.

SCREENATTR

Return a composite character attribute (color).

SCREENX

Return the number of columns (x coordinate) on the console screen.

SCREENY

Return the number of rows (y coordinate) on the console screen.

SCROLL

Scroll all or part of the current console page (screen).

STDERR

Output a string expression to the standard error device.

STDOUT

Output a string expression to the standard output device.