SAVESERIES

Purpose:

Saves a series or list of series to a list of series names.

Syntax:

SAVESERIES(W1, ..., Wn, "ser1", ..., "serN", overwrite)

WN

-

Optional. A list of Windows with series to save. Defaults to the current Window.

"serN"

-

One or more strings. The series names in dataset.version.series format.

overwrite

-

Optional. An integer, the overwrite flag:

0:

do not overwrite (default)

1:

overwrite existing series

Example:

saveseries("MYSERIES.1.SERIES")

 

saves the series in the current Window to MYSERIES.1.SERIES.

Example:

saveseries(W1, W4, W5, "D.1.S1","D.1.S2","D.1.S3")

 

saves the series in W1, W4, W5 to D.1.S1, D.1.S2 and D.1.S3 respectively.

Example:

saveseries(W1..W4, "D.1.S1", "D.1.S2", "D.1.S3", "D.1.S4", 1)

 

saves the series in W1 through W4 and automatically overwrites the previous series if they exist.

Remarks:

If a specified series name already exists, SAVESERIES by default prompts the user for overwrite permission. SAVESERIES also accepts an optional overwrite flag to automatically overwrite existing Datasets without prompting.

 

The Dataset and Series names are case-sensitive.

 

If a version number is not specified in the Dataset name, the series is saved in a new version of the Dataset using the next available version number.

 

A version number of 2 also implies next version.

 

A version of 3 implies save the series in the last version of the Dataset.

 

A version of 0 implies save the series in the first version of the Dataset.

 

Use COPYSERIES to copy individual series from different Labbooks.

See Also:

COPYSERIES

DELETESERIES

LOADDATASET

LOADSERIES