IsDirectory()

Syntax

Result = IsDirectory(#Directory)
Description
Tests if the given directory number is a valid and correctly initialized directory enumeration.

Parameters

#Directory The directory enumeration to test.

Return value

Returns nonzero if the given input is a valid enumeration and zero otherwise.

Remarks

This function is bulletproof and can be used with any value. This is the correct way to ensure a directory is ready to use.

See Also

ExamineDirectory()

Supported OS

All

<- GetTemporaryDirectory() - FileSystem Index - NextDirectoryEntry() ->