contents.gifprev1.gifnext1.gif

WRITE_GLOBAL_SELECT

Description:

WRITE_GLOBAL_SELECT places the text passed in the first parameter to the window system. The WRITE_GLOBAL_SELECT should only be used as part of the code responding to requests for information about global selections. If a buffer or range is passed as the first parameter, nu/TPU converts it to text before giving it to the window system. If the keyword NONE is used, nu/TPU will indicate no information is available.

To use WRITE_GLOBAL_SELECT, nu/TPU requires the windowing system to properly create and maintain messaging between applications and ownership of global selections. WRITE_GLOBAL_SELECT does not function in NODISPLAY mode.

Syntax:

WRITE_GLOBAL_SELECT ( {buffer | integer | range | string | NONE } )

Example:

This example tells other applications that no global selection information is available.

WRITE_GLOBAL_SELECT (NONE);

Errors:

TPU$_NORETURNVALUE Doesn't return a value.

TPU$_REQUIRESWINDOWS Requires a windowed environment.

TPU$_TRUNCATE String length too long; had to be shortened.

Related Builtins:

GET_GLOBAL_SELECT

READ_GLOBAL_SELECT

WRITE_CLIPBOARD