contents.gifprev1.gifnext1.gif

CURRENT_COLUMN

Returns screen column number for the current window position.

Description:

The CURRENT_COLUMN matches the column number of the editing position in the current window. Only the screen manager and the built-in UPDATE can update the value of CURRENT_COLUMN. The leftmost column is number 1.

Syntax:

integer := CURRENT_COLUMN

Example:

The following returns the current column in this_col1.

this_col1 := CURRENT_COLUMN;

Errors:

TPU$_NOCURRENTBUF Not in a buffer.

Related Builtins:

CURRENT_OFFSET

GET_INFO