list_ixed

Reads a list value at an absolute position.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

expr list_ixed(list-name,row,col)
list           list-name
int            row,col

Description

Returns the data item from a list. Does not modify current item pointer.
list-name specifies the name of the list.

row specifies row position. -1 places the upper left of the box at the cursor position. -2 places the box in the center of the screen.

col specifies column in the row. -1 places the upper left of the box at the cursor position. -2 places the box in the center of the screen.

Example

Prints the data item located at the specified position.
{
 list xx;
 xx = list_open("20 16 10", 1000, "ListC");
 list_mod(xx, 1, "1", "2", "3");
 list_mod(xx, 1, "4", "5", "6");
 printf(list_ixed(xx, 1, 1));
 list_close(xx);
}