Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

PoolSetPosition Function

Overview

The PoolSetPosition function sets the current write position within the pool.

Syntax/Parameters

Syntax

int = PoolSetPosition ( handle hPool, int position );

Parameters

hPool

A handle specifying the String Pool object.

position

An int specifying the character position in the pool.

Return Value

Returns an int as the last position or a formatted error code on failure.

Remarks

This function sets the current position (or last position) in the pool. If the position value is equal or greater than the size of the pool, an ERROR_RANGE error will be returned.

Related Functions

Platform Support

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

Legato IDE, Legato Basic