DIR_IsDir

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > DIR: functions working on directories >

DIR_IsDir

 

Description

 

Determine if specified path is a valid directory.

 

Syntax

 

n = DIR_IsDir(Path)

 

Returns

 

Number.

1 = File

2 = Directory

53 = No such file/directory

70 = Permission denied

 

Parameters

 

Name

Type

Optional

Meaning

Path

String

No

Full path.

 

Remarks

 

Restrictions

 

See also

 

File Module,

 

Examples