PANDORE Version 6 | GREYC-IMAGE |
pcolgetvalue returns the value of the item name from the collection col_in. The item must be a basic type: Char, Uchar, Short, Ushort, Long, SLong, Float or Double.
The value can then be get with the operator pstatus.
Returns the numeric value or FAILURE if the specified item doesn't exist.
Adds the float value 10.5 in the collection col.pan with the name "foo" and chekcs if the value is in the collection:
pobject2col image tangram.pan col.pan pcolsetvalue foo Float 10.5 col.pan col.pan pfile col.pan pcolgetvalue foo col.pan pstatus
Extraction de la valeur d'un élément numérique dans une collection.
Author: Régis Clouard