Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

XDXGetEngramPosition Function

Overview

The XDXGetEngramPosition function returns the file position of the tag encapsulating the engram.

Syntax/Parameters

Syntax

int[] = XDXGetEngramPosition ( handle hXDX, int index );

Parameters

hXDX

A handle to an XDX Object.

index

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

Return Value

An int array containing the engram’s file position or empty on failure. Use the GetLastError function to retrieve a formatted error code and GetLastErrorMessage for additional detail.

Remarks

The returned data is a series of four named keys, “s_x”, “s_y”, “e_x” and “e_y”, all containing zero-based file positions.

Related Functions

Platform Support

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

Legato IDE, Legato Basic