DADiSP Worksheet Functions > Function Categories > Datasets, Worksheets and Labbooks > COPYSERIES

 

COPYSERIES

Purpose:

Copies a Series from a Dataset.

Syntax:

COPYSERIES("srcname", "desname", verbose)

"scrname"

-

A string. The source Series to copy from. The name can also contain a path and Labbook specifier.

"desname"

-

Optional, a string. The destination Series to copy to. Defaults to the same Series name in "srcname".

verbose

-

Optional. An integer, the message display flag:

0:

do not display messages

1:

display error messages and warnings (default)

Returns:

An integer, 1 if the source Series is successfully copied to the destination Series, else 0.

Example:

copyseries("Demo4 UN1.1.ANALOG1")

 

copies the Series RUN1.1.ANALOG1 from the Demo4 Labbook to the Series RUN1.1.ANALOG1 in current Labbook.

Example:

copyseries("Dir1ook1 UN1.1.ANALOG1","Dir2ook2Job.2.Data", 0)

 

Copies the Series RUN1.1.ANALOG1 in the Book1 Labbook located in the Dir1 sub-directory to the Series Job.2.Data in the Book2 Labbook located in the Dir2 sub-directory. The copy is performed silently.

Remarks:

The specified Series names are case-sensitive.

 

The Series name must also contain the Dataset and Version number.

 

The name string can contain directory and Labbook specifiers separated by the path delimiter.

See Also:

COPYDATASET

DELETEDATASET

DELETEWORKSHEET

LOADDATASET

LOADSERIES

SAVESERIES