Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

XDXGetEngram Function

Overview

The XDXGetEngram function returns the raw engram as a specified map position.

Syntax/Parameters

Syntax

string = XDXGetEngram ( handle hXDX, int index );

Parameters

hXDX

A handle to an XDX Object.

index

A zero-based int specifying the map index position to retrieve the data.

Return Value

A string containing the raw engram or empty on failure. Use the GetLastError function to retrieve a formatted error code and GetLastErrorMessage for additional detail.

Remarks

Once retrieved, the raw engram can be cracked into parameters using the XDXEngramToParameters function. The parameters, or components can be further refined by use individual functions to get the properties of each item.

Many property items will also accept the complete engram as a source parameter.

Engram Format

xdx_ffc[_param 1, ...]

Where:

xdxDesignates ID as an XDX engram.
ffDefines the engram type
cIs a check code to verify the integrity of the overall engram.
paramIs any associated data. Engrams can have up to twenty (20) parameters.

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic