Category Creo Parametric TOOLKIT fundamentals, Object ProArray

Function ProArraySizeSet


Description
Enables you to increase or decrease the size of an array.

NOTE:

Because this call may cause the array to be reallocated, you must pass the address of the array.

Synopsis
#include <ProArray.h>
ProErrorProArraySizeSet(
ProArray* p_array
/* (In)
The address of the array whose size should be changed
*/
int size
/* (In)
The new size of the array
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the array size.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Fundamentals: Expandable Arrays
  2. Fundamentals: Expandable Arrays

Sample Code References:

  1. pt_examples ( TestAnimation.c )
  2. pt_examples ( TestProcstep.c )
  3. pt_examples ( TestProcstep.c )
  4. pt_examples ( TestProcstep.c )
  5. pt_examples ( TestProcstep.c )
  6. pt_examples ( TestProcstep.c )
  7. pt_examples ( TestProcstep.c )
  8. pt_examples ( TestProcstep.c )