Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

SGMLValueToInteger Function

Overview

The SGMLValueToInteger function converts a sign or unsigned pvalue (PT_SIGNED_INT and PT_INT, respectively) to a basic integer.

Syntax/Parameters

Syntax

int = SGMLValueToInteger ( PVALUE value );

Parameters

pvalue

A PVALUE (dword) specifying a structured parameter value (can also be defined as a PVALUE).

Return Value

An int as the integer value or a formatted error code. Use the GetLastError or IsError functions to retrieve an error code or check for an error.

Remarks

The unit type must be an integer, signed or unsigned. The resulting value is adjusted down from 100ths of units and sign extended as required. 

Related Functions

Platform Support

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

Legato IDE, Legato Basic