GetRowIndex

This function evaluates to the index of the row with the given name in a table slot.

Description

The index of the table slot row whose name matches a string.

Type

NUMERIC

Arguments

Type

Meaning

1

SLOT

the table slot in which to find a row

2

STRING

the name of the row to match

Evaluation

The labels of the slot rows are compared to the string argument until a match is found.

Comments

Table row and column indices are zero based and have units of type [NONE]. If the specified slot is not a table slot or the specified string is not the label of a row on the slot, this function aborts the run with an error. If several rows of the table slot match the string argument, this function evaluates to the index of the topmost matching row.

 
GetRowIndex(RiverData.Minimum Flow,"Dolores")
 
1.00000