COPYDATA

Purpose:

Copies the data from a Window, series or string into the clipboard.

Syntax:

COPYDATA(win)

COPYDATA(series)

COPYDATA("text")

win

-

Optional Window reference. Defaults to the current Window if series or "text" not specified.

series

-

Optional. A source series.

"text"

-

Optional. A source string.

Example:

copydata(W4)

 

copies the series in W4 into the clipboard as ASCII and also copies the plot of the series as a bitmap and metafile.

Example:

copydata(integ(gnorm(100,1)))

 

copies the generated series to the clipboard as ASCII data.

Example:

copydata("clipboard text")

 

copies the string "clipboard text".

Example:

copydata({max(w1)})

 

copies the maximum value of W1 as a single point series.

Remarks:

COPYDATA is supported on Windows only.

 

Copying a window places its series data on the clipboard in multiple formats:

 

 

The native binary format preserves full numerical precision when pasting the series back into a window or variable.

 

To copy a scalar value, wrap it in the series constructor { }. For example:

 

copydata({pi})

 

copies the scalar value π to the clipboard as a single point series.

 

See PRNSCREEN to copy an image of the Worksheet display area.

See Also:

{} Array Construction

PASTEDATA

PRNSCREEN