Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

SGMLDivideValue Function

Overview

The SGMLDivideValue function divides a pvalue by a floating-point value.

Syntax/Parameters

Syntax

PVALUE = SGMLDivideValue ( PVALUE numerator, float divisor );

Parameters

numerator

A PVALUE (dword) specifying a structured parameter value.

divisor

A float as the divisor. The value must not be zero. If an integer is provided, it will be converted to a float.

Return Value

A PVALUE (dword) as the result or an error as PT_UNTRANSLATED. The GetLastError will return ERROR_SYNTAX on error. The resulting value will be of the same units as the numerator.

Remarks

The function does not test for non-measurement unit values.

Related Functions

Platform Support

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

Legato IDE, Legato Basic