Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

GetApplicationParameter Function

Overview

The GetApplicationParameter function searches for an application parameter string / environment variable.

Syntax/Parameters

Syntax

string = GetApplicationParameter ( string name );

Parameters

name

A string containing the new parameter name. The parameter name must be known by the application

Return Value

Returns a string with the data or an empty string on failure. Use GetLastError to retrieve a formatted error code. If a name is unknown or not set, the return value will be ERROR_EOD.

Remarks

Parameter names must be known by the application. Various modules within the application allow for data to be referenced or set. The size and content of the data is dependent on the specific parameter and processing module.

See Appendix E — Application Parameter Names specification. In addition, four application static data values can be accessed, “asd_a”, “asd_b”, “asd_c” and “asd_a”, which are 65,525, 256, 256, 256 characters and size, respectively. These can also be modified within the static portion of the executable to allow permanent data to be defined, for example, within a Legato Basic script.

Related Functions

Platform Support

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

Legato IDE, Legato Basic