Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SixFile Functions (continued)

URIArrayToQuery Function

Overview

The URIArrayToQuery function implodes an array with key names into a URI query.

Syntax/Parameters

Syntax

string = URIArrayToQuery ( string data[] );

Parameters

data

A string array containing key value pairs in the format of elements with a key name and value.

Return Value

Returns a string containing an encoded query string or an empty string on failure. Use the GetLastError and GetLastErrorMessage functions to retrieve error information.

Remarks

The query string is assembled from the key names and array element data. Array data is encoded as required according to RFC-3986.

Note that the key names are not encoded are are only checked for ‘&‘ and ‘=’ characters as being illegal.

Related Functions

Platform Support

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

Legato IDE, Legato Basic