|
|
|
SWU_cArrayToTclArrayConvert a C array to a Tcl Array SWU_cArrayToTclArray is a library procedure which allows a user to convert a C array of type integer, long, float, double to a Tcl array. The input parameters are a C array ID and name of the Tcl array. If the procedure succeeds then it sets elements of the specified Tcl array to the values of the corresponding element's of the C array, if the array or elements of the array do not exist they are created. package require SWU SWU_cArrayToTclArray C_array_ID ArrayName
Return ValueThere is no return value if function succeeds. If an error condition occurs, the return value will be a descriptive string message giving information about the error. Side EffectsNone. Examples
Gets the nurbs curve element, defines the number of knots for the nurbs curve, allocates array of doubles, fills this array with the knots values, convert the knots array to the tcl array and prints out the knots values. See Also |
|
copyright Video-Collage Inc. |