Loads an entire Dataset into a Worksheet from a starting Window.
LOADDATASET(win, "dsname", overwrite, onewin, usecolor)
win |
- |
Optional. A window, the starting Window. Defaults to the current Window. |
||||||||||
"dsname" |
- |
A string. The name of the Dataset to load. |
||||||||||
overwrite |
- |
Optional. An integer, the overwrite series flag.
|
||||||||||
onewin |
- |
Optional. An integer, the flag to load the entire Dataset into the current Window or to load each series into consecutive Windows.
|
||||||||||
usecolor |
- |
Optional. An integer, the color flag.
|
loaddataset("RUN1.1")
loads all the series in Dataset RUN1.1 into the Windows starting from the current Window. If there are not enough consecutive Windows, the user is prompted whether the required number of Windows should be added.
If a version number is not specified, it is defaulted to the last (most current) version. The starting Window may also be specified as below:
loaddataset(W4, "RUN1.1")
loaddataset(W4, "RUN1")
Same as above, but since a version number was not included in the Dataset name, the last available version of the Dataset RUN1 is loaded.
loaddataset(W4, "RUN1.1", 1, 1)
loads all the series in Dataset RUN1.1 into W4 as a multi-column series.
loaddataset(W4, "RUN1.1", 1, 1, 1)
loads all the series in Dataset RUN1.1 into W4 as a multi-column series. Each series is displayed in a different color.
The specified Dataset name is case sensitive.
If a specified Window already contains a series, LOADDATASET by default prompts the user for overwrite permission. LOADDATASET also accepts an optional overwrite flag to automatically overwrite existing series in a Window without prompting.
If a version number is not specified in the Dataset name, the last available version for the Dataset is loaded. A version number of –3 also implies last version.
A version number of 0 implies load the first available version of the Dataset.
Additional colors can be specified by editing the system file PALETTE.MAC.