PANDORE Version 6 | GREYC-IMAGE |
pcolsetvalue adds the specified value value of type type to the input collection col_in with the specified name. The result collection is saved into col_out.
If the item named name already exist, the value is replaced by the new value value.
Returns SUCCESS or FAILURE.
Adds the float value 10.5 in the collection col.pan with the name "foo" and verifies 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
Ajout de la valeur d'un élément numérique dans une collection.
Author: Régis Clouard