Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FifteenWindows/OS Functions (continued)

GetEnvironmentVariables Function

Overview

The GetEnvironmentVariables function returns a table of system environment variables for the current process.

Syntax/Parameters

Syntax

string[][] = GetEnvironmentVariables ( );

Parameters

(none)

 

Return Value

Returns a string table containing the name and value for each defined environment variable or an set on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The return list is a 2 x n table of variables. Column 0, or key name “Name” is the variable name while column 1, or key name “Value” is the variable value.

All values are UTF-8 encoded.

Related Functions

Platform Support

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

Legato IDE, Legato Basic