DELETELABBOOK

Purpose:

Deletes an entire Labbook.

Syntax:

DELETELABBOOK("labname", confirm)

"labname"

-

A string. The name of the Labbook to delete.

confirm

-

Optional. An integer, the confirmation flag:

0:

do not confirm deletion

1:

confirm deletion (default)

Returns:

An integer, 1 if successful else <= 0.

Example:

deletelabbook("MyBook")

 

deletes the Labbook MyBook with confirmation.

Example:

deletelabbook("OldBooksook1", 0)

 

Deletes the Labbook Book1 in the OldBooks directory without confirmation.

Remarks:

The Labbook name can contain a path.

 

The currently opened Labbook cannot be deleted. First open a different Labbook, then delete the desired Labbook.

See Also:

DELETEDATASET

DELETEWORKSHEET

LOADDATASET

LOADSERIES

OPENLABBOOK

SAVESERIES