Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

EnumerateSetFields Function

Overview

The EnumerateSetFields function returns table of all SET fields within the specified document.

Syntax/Parameters

Syntax

string[][] = EnumerateSetFields ( handle hObject | string name );

Parameters

hObject

A handle to a Mapped Text, Edit or SGML Object. Or,

name

A string specifying a source filename to scan for set fields.

Return Value

A string table containing set field parameters or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

Set fields are enumerated as a series of rows, one for each field, with the following column key names.

  Key Name   Description  
  s_x   File position in zero-based decimal.  
  s_y   File position in zero-based decimal.  
  e_x   File position in zero-based decimal.  
  e_y   File position in zero-based decimal.  
  name   Set value name. Either this field or the id should uniquely identify the set group.  
  id   Set value id. Either this field or the name should uniquely identify the set group.  
  value   Optional value for the field.  
  file   Optional filename for the field (for script).  
  function   Optional function name for the field (for script).  

 

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic