contents.gifprev1.gifnext1.gif

CURRENT_BUFFER

Description:

Returns the buffer in which you are currently positioned. All editing actions take place in the current buffer. The current cursor position may not match the current character position if FREE cursor movement is turned ON.

Syntax:

buffer := CURRENT_BUFFER

Example:

The following tells nu/TPU to display information relevant to the current buffer.

SHOW (CURRENT_BUFFER);

Errors:

TPU$_NOCURRENTBUF Not in a buffer.

Related Builtins:

CREATE_BUFFER

CURRENT_WINDOW

MAP