contents.gifprev1.gifnext1.gif

MOVE_HORIZONTAL

Description:

MOVE_HORIZONTAL moves a pointer, but not necessarily the cursor, relative to the current position a number of characters passed as a parameter. Movement of the character position is tied to the text and will cross line boundaries. The current character position and the cursor position must be the same for the adjustment to be visible. MOVE_ HORIZONTAL will pad the current position before moving if the position is mid-tab or past the end of the line. Attempting to move past either the beginning or end of the current buffer will generate a warning message.

Syntax:

MOVE_HORIZONTAL (integer)

Example:

The following emulates a right-arrow key being typed.

MOVE_HORIZONTAL (1);

Errors:

TPU$_BEGOFBUF Already at buffer's beginning.

TPU$_ENDOFBUF Already at buffer's end.

TPU$_NOCURRENTBUF Not in a buffer.

Related Builtins:

CURSOR_HORIZONTAL

MOVE_VERTICAL