Clipboard.Paste

Top  Previous  Next

Returns the current clipboard contents.

 

Syntax

function Clipboard.Paste(): string

 

Description

Returns the current clipboard contents, as text, if possible.

 

The Return Value is the clipboard contents.

 

See Also

Clipboard.Copy

 

Example

execute UDSBlock returns (str_value varchar(100))

as

begin
  /* copies a value to the clipboard */

  Clipboard.Copy('this is on the clipboard now');

  

  str_value = Clipboard.Paste();

  suspend; /* returns the value on the clipboard */

end