CNT_GETITEM action


Declaration
CNT_GETITEM _hContainer, _index, _value
Parameters
_hContainerinIdentifier of Int type - data container.
_indexinSequence number of item (from 1...) of the array created by the action CNT_CNVTOARRAY.
_valueoutValue from the container, if the value of the parameter _bFound is @TRUE, otherwise the value of the parameter remains unchanged.
Description

The action reads the value from the data container given by its sequence number (the _index parameter) and inserts it into the _value parameter.


Analogous to the action CNT_FIND, the _value parameter must be of proper type.

The _index parameter may be a value within the interval 1..._nr, while _nr is returned by calling the CNT_GETNR action.

Note
The CNT_CNVTOARRAY action creates an array for accessing the values of the container by means of index.

Related pages:

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .