Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

GetParameterEqualName Function

Overview

The GetParameterEqualName function returns the name portion of a “property=value” pair.

Syntax/Parameters

Syntax

string = GetParameterEqualName ( string data );

Parameters

data

A string beginning with a property value pair.

Return Value

Returns a string containing the name of the first property name or string delimited by an equal sign or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The GetParameterEqualName function used with the GetParameterEqualValue function allows a “parameter=value” type string to be easily parsed.

The syntax of the name is not checked. The function only looks for a ‘=’ character and trims padding.

If the buffer (size 4096 bytes) is exceeded, the GetLastError function will return ERROR_OVERFLOW.

Related Functions

Platform Support

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

Legato IDE, Legato Basic