Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

PoolAppendFormattedString Function

Overview

The PoolAppendFormattedString function adds a formatted string to a String Pool Object.

Syntax/Parameters

Syntax

int = PoolAppendFormattedString ( handle hPool, string format, [parameters ...] );

Parameters

hPool

A handle specifying the String Pool Object.

format

A string containing a template that specifies the structure of the resulting string. See Section 5.1.3 for information on creating formatted strings.

parameters

Zero or more parameters to be formatted and inserted into format. If no parameters are supplied, the template is simply passed through to the result string.

Return Value

Returns an int containing the offset (location) where the appended string starts within the pool or a formatted error code on failure.

Remarks

The PoolAppendFormattedString function operates in the same manner as the PoolAppend function, but it allows formatted strings to be added to the pool directly.

Related Functions

Platform Support

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

Legato IDE, Legato Basic