Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

CellIndexToAddress Function

Overview

The CellIndexToAddress function translates a cell position by row and column index to a spreadsheet-style cell address (e.g., row 2, col 2 becomes B3).

Syntax/Parameters

Syntax

string = CellIndexToAddress ( int row, int col );

Parameters

row

A positive zero-based int containing a cell row position.

col

A positive zero-based int containing a cell column position.

Return Value

Returns a string containing the cell address or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

Use the CellAddressToIndex function to convert a cell address to an integer array. The only error returned by the GetLastError function for this function is a range error if the values are negative or exceed 31-bits.

Related Functions

Platform Support

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

Legato IDE, Legato Basic