DADiSP Worksheet Functions > Function Categories > Data Manipulation and Editing > PASTEDATA

 

PASTEDATA

Purpose:

Returns the data from the Clipboard.

Syntax:

PASTEDATA(format)

 

format

-

Optional. An integer, the data format.

 

 

0:

ASCII table (default)

1:

Excel Table

2:

image

3:

string

Returns:

A series, scalar or string, the clipboard data.

Example:

W1: ravel(1..9, 3);copydata

W2: pastedata()

 

W1 == W2 == {{1, 4, 7},

             {2, 5, 8},

             {3, 6, 9}}

 

copies the data from W1 and paste the data into W2.

Example:

copydata("This is a text message")

a = pastedata(3)

 

copies the string from the Clipboard to variable a.

Remarks:

This function can only be used with the Windows version of DADiSP.

See Also:

COPYDATA