PANDORE Version 6 GREYC-IMAGE

pcreatearray



Creates array in collection.



Synopsis

pcreatearray name type size value [col_out|-]

Description

pcreatearray creates a new collection col_out with one array named name that contains size values value of type type.

Parameters

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Creates an array with 128 float values 10.5:

   pcreatearray foo float 128 10.5 col.pan
   pcol2txt col.pan

See also

Array

Prototypes C++

Errc CreateArray( Collection &col_out, Long size, Uchar value, std::string name );

Version française

Création d'une collection contenant un vecteur vierge.


Author: Alexandre Duret-Lutz