Navigation:  ThinBASIC Modules > File >

DIR_IsDir

Previous pageReturn to chapter overviewNext page

 

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