Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SixFile Functions (continued)

IsPathTopLevel Function

Overview

The IsPathTopLevel function checks a candidate string as to whether is a qualified local file system root position. For example, “D:\” or “\\dog\”.

Syntax/Parameters

Syntax

boolean = IsPathWindowsRootTop ( string path );

Parameters

path

A string containing the candidate name.

Return Value

Returns 0 or 1 depending on whether the string is the root designation for a drive or UNC.

Remarks

The path is not tested against the file system.

Related Functions

Platform Support

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

Legato IDE, Legato Basic