Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

GetFilePath Function

Overview

The GetFilePath function returns the path section of a string containing a path and filename combination or URI.

Syntax/Parameters

Syntax

string = GetFilePath ( string name );

Parameters

name

A string containing a path.

Return Value

Returns a string containing the path or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The GetFilePath function strips filenames from the end of the path. If the path cannot be determined, the GetLastError function will return ERROR_EOD.

Related Functions

Platform Support

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

Legato IDE, Legato Basic