Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

GetObjectMetaData Function

Overview

The GetObjectMetaData function retrieves a named meta string from a compatible object.

Syntax/Parameters

Syntax

string = GetObjectMetaData ( handle hObject, string name );

string = GetObjectMetaData ( handle hObject, string section, string name );

string = GetObjectMetaData ( handle hObject,
                         string title, string section, string name );

Parameters

hObject

A handle to a compatible object.

name

A string containing the case-sensitive name of the meta data to retrieve.

section

An optional string containing a case-sensitive section name for grouping.

title

An optional string containing a case-sensitive title for grouping.

Return Value

Returns a string value containing the meta data or empty string on failure. A named meta item can be an empty string. Use the GetLastError function to retrieve a formatted error code or IsError and IsNotError to determine if an error occurred.

Remarks

If the object does not support meta data, the error code will be set to ERROR_FUNCTION_NOT_SUPPORTED.

Related Functions

Platform Support

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

Legato IDE, Legato Basic