Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

FieldReset Function

Overview

The FieldReset function resets the content of a Field Object and optionally sets a field type.

Syntax/Parameters

Syntax

dword = FieldReset ( handle hField, string name | dword token );

Parameters

hField

A handle to a Field Object.

name

A string containing a field type by name. If the name cannot be translated to a known token, a ERROR_RANGE error will be returned. Or,

token

A dword containing a field name token.

Return Value

A dword containing a field token or a formatted error code on failure.

Remarks

FieldReset clears the entire object but does not disassociate any linked objects or the current field and parse position. The function can be used to start a new field to be written or exported.

Related Functions

Platform Support

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

Legato IDE, Legato Basic