Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

CNT_GETITEM action


Declaration


Blok kódu
languageesl
themeConfluence
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

of specified

from the data container given by its sequence number (the

parameter

_indexparameter)

from the data container and returns the value in the parameter _value

and inserts it into the _value parameter.


Analogous to the action CNT_FIND, the

parameter

_value parameter must be of proper type.

The parameter


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

action

CNT_GETNR action.

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

Info
titleRelated pages:

Script actions