BBjFileSystem::dir

Description

In BBj 25.03 and higher, this method returns the default directory for the current disk or for a specified disk, depending on the parameters provided.

Syntax

Return Value Method
string

dir()

dir(int p_disk)

dir(string p_disk)

Parameters

Variable Description
p_disk

Optional, disk to get the default directory for.

When specified as an integer, disk numbering starts with 0 equivalent to "A".

When specified as a string, an empty string or null refers to the current disk.

Return Value

Returns the default directory for the specified disk. If no disk is specified, returns the default directory for the current disk.

See Also

BBjAPI

BBj Object Variables

BBj Object Creation and Assignment

BBj Object Error Handling

BBj Object Operators

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.