PANDORE Version 6 |
GREYC-IMAGE |
parraygetvalue
Gets value from array.
Synopsis
parraygetvalue index name [col_in|-]
Description
parraygetvalue returns the value of item at the
specified index in the array name of the input collection col_in.
The result can then be get by the operator pstatus.
Parameters
- name is the name of the array in the collection. It is string without blank character.
- index is the rank of the item in the array. It is an integer from 0 to the number of item in the array -1.
Inputs
Result
Returns the value of the item or FAILURE.
Examples
See also
Array
C++ prototype
Errc PArrayGetValue( Collection &col_in, const std::String &name, int index );
Version française
Extraction de la valeur d'un élément d'un vecteur dans une collection.
Author: Régis Clouard