Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

SGMLGetItemType Function

Overview

The SGMLGetItemType function retrieves the type of item that was parsed.

Syntax/Parameters

Syntax

int = SGMLGetItemType ( handle hSGML );

Parameters

hSGML

A handle to an SGML Object.

Return Value

An int value specifying the type of the last item or element parsed or a formatted error code.

Remarks

The primary delimiters of the parser are white space, text, character entities and tags. SGMLGetItemType returns the type:

  Define   Value   Comment  
  SPI_TYPE_SPACE   0   Item is Word Space  
  SPI_TYPE_TEXT   1   Item is Text  
  SPI_TYPE_CHAR   2   Item is a Character Entity  
  SPI_TYPE_TAG   3   Item is a Tag  

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic