DADiSP Worksheet Functions > Function Categories > Datasets, Worksheets and Labbooks > OPENLABBOOK
Opens a Labbook.
OPENLABBOOK("labname", "wrkname", confirm, create)
|
- |
A string. The name of the Labbook to open. |
||||
"wrkname" |
- |
Optional. A string, the name of the Worksheet to load. Defaults to a new Worksheet. |
||||
confirm |
- |
Optional. An integer, the confirmation flag.
|
||||
create |
- |
Optional. An integer, the create new Labbook flag.
|
An integer, 1 if successful else <= 0.
openlabbook("MyBook")
opens the Labbook MyBook with confirmation and loads a new Worksheet.
openlabbook(" ewBooksMyBook","Work1", 0)
opens the Labbook MyBook in the directory ewBooks and loads the Worksheet Work1 without confirmation.
openlabbook(" ewBooksMyBook2", 0, 1)
Creates the Labbook MyBook2 in the directory ewBooks if it does not exist. The Labbook is opened with a new Worksheet without confirmation.
The Labbook name can contain a path.