Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

IsPathDrive Function

Overview

The IsPathDrive function tests if a string contains a MS-DOS/Windows drive designation.

Syntax/Parameters

Syntax

boolean = IsPathDrive ( string path );

Parameters

path

A string containing a full or partially qualified path with optional filename.

Return Value

Returns TRUE if path contains a drive designation or FALSE if it does not.

Remarks

The IsPathDrive function does not check to see if the drive letter is valid nor does it check to see if the path exists. It also does not check if the path is qualified. To determine if a path or file exists, use the DoesPathExist and the DoesFileExist functions, respectively.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic