FreeTableValStrings

int FreeTableValStrings (char *valueArray[], int count);

Purpose

Frees the memory associated with any strings returned by GetTableCellRangeVals.

Call this function only if the type of the cells in the cell range you passed to GetTableCellRangeVals is VAL_CELL_STRING, VAL_CELL_RING, VAL_CELL_COMBO_BOX, or VAL_CELL_BUTTON.

Parameters

Input
Name Type Description
valueArray char *[] The array containing the pointers you want to free. This array must be the same array you passed to GetTableCellRangeVals.
count integer The number of elements in valueArray. This value must match the number of cells in the cell range you passed to GetTableCellRangeVals.

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Code Error Message String
xx Success