Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SixFile Functions (continued)

GetLastYPosition Function

Overview

The GetLastYPosition function retrieves the Y portion of the position after the last write operation.

Syntax/Parameters

Syntax

int = GetLastYPosition ( handle hObject );

Parameters

hObject

A handle to an Edit Object or an Edit View.

Return Value

Returns an int as theY position or -1 on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The last position is specifically related to the WriteSegment function with the value expressing the last position of the write (the adjusted end of the segment after the write). If the function is called without calling WriteSegment first, the function will return 0 without an error. 

Related Functions

Platform Support

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

Legato IDE, Legato Basic