CwPaste

Syntax:

call CwPaste

Description:

This procedure inserts the object in the OS/2 clipboard into the current view. It is equivalent to selecting an object with the mouse and then using the "Paste" menu option.

Example:

/* Duplicate the first object. */

foo = CwFindNextObject(0)
call CwSelectObject(o)
call CwCut

if \CwClipboardValid() then
        say "Oops.  Couldn't cut it."

call CwPaste
call CwPaste

Remarks:

The pasted object will be placed on the top of the object stack and can be retrieved via CwFindFirstObject.

Functions by NAME

Index

Functions by PURPOSE