Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

SGMLIsImplied Function

Overview

The SGMLIsImplied function checks the source information and returns TRUE or FALSE based on whether the value is explicitly implied.

Syntax/Parameters

Syntax

boolean = SGMLIsImplied ( PVALUE value | string value );

Parameters

value

A PVALUE (dword) or string specifying a structured parameter or string value to test.

Return Value

A boolean as TRUE (1) or FALSE (0) depending on the content of value.

Remarks

By definition, an implied value is not present. When reading a tag from a source document, implied values will not have a value and functions such as SGMLGetParameter will return an error. On the other handle, programmatic data values must be set to a value that indicates ”no value” or implied. In addition, user dialogs may have a “(default)” condition indicating that no data is actually written to a target tag.

This function test for the state PT_IMPLIED for a pvalue and “(default)” for a string. For strings, the value need only lead with “(default” thus allowing for values such as “(default, 2 pixels)” to be treated as implied.

Related Functions

Platform Support

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

Legato IDE, Legato Basic