Directory


Section contents


Overview

Defined in

cfile.oxh

Description

<TBS>


Construction / destruction


DeleteDir - Destructor

Usage

DeleteDir:(BYREF this&)

Description

Destroys the directory object.

Arguments
BYREF this& A handle to a directory object

Methods provided


DirCount - count number of directory entries

Usage

count& = DirCount&:(this&)

Description

Use this function to get the number of entries in the array of directory entries.

Arguments
this& A handle to a directory object
Return value
count& The number of entries in the array

DirEntry - get a directory entry

Usage

entry& = DirEntry&:(this&,index&)

Description

Use this function to get an entry from the array.

Arguments
this& A handle to a directory object
index& Index of the desired entry within the array
Return value
count& A directory entry

DirSort - sort the array

Usage

err% = DirSort&:(this&,key&)

Description

Use this function to sort the array of directory entries

Arguments
this& A handle to a directory object
key& Order of directory entries
Return value
err% An error code