Parameters
Parameter | Data Type | Description |
---|---|---|
N | Numeric | Sequence number |
List | String | Uniface list from which to extract an item |
Return Values
If the Nth item is not found
in List, the $itemnr function returns NULL and $procerror is set to -1129
.
Value | Error Constant | Meaning |
---|---|---|
-1129
|
<UPROCERR_ITEM>
|
Item with the requested index is not found |
Use
Allowed in all component types.
Description
The $itemnr function acts in the same way as the getitem ProcScript statement, but can also be used as part of an expression.
For more information, see Lists and Sublists.