Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

FieldGetFieldResult Function

Overview

The FieldGetFieldResult function returns the parse result code.

Syntax/Parameters

Syntax

dword = FieldGetFieldResult ( handle hField );

Parameters

hField

A handle to a Field Object.

Return Value

A dword containing bitwise values specifying the details of the last parse results or 0x00000000 on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The bitwise result codes are as follows:

  Definition   Bitwise   Description  
  Errors          
    FIELD_RESULT_ERROR_MASK   0x0000FFFF   Result Error Mask  
    FIELD_RESULT_UNKNOWN_PROPERTY   0x00000001   Unknown Properties Name  
    FIELD_RESULT_PARAMETER_ERROR   0x00000002   Error in Parameter  
    FIELD_RESULT_UNKNOWN_FIELD_NAME   0x00000004   Unknown Field Name  
  Conditions          
    FIELD_RESULT_SELF_CLOSE   0x00010000   Field Is Self-Close  
    FIELD_RESULT_STOPPED   0x00020000   Stopped on HTML/XML Tag  
    FIELD_RESULT_DATA   0x10000000   Currently Contains Data  

 

The return value will normally contain the FIELD_RESULT_DATA bit set after a successful parse operation.

The Field Object must have a data object associated to use this function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic