Prototype
bool __cdecl fnPushValue ( const char* pszValue );
Return value
This function should return true if the value could be used, and false otherwise.
Parameters
pszValue [in]
Current cell data value.
Remarks
This function is called once for each shape included in the calculation. If there are no selections in the current layer, all shapes are included. However, if some shapes are selected, the user can choose either all, selected or unselected shapes to be used in this calculation.
The actual calculation can either be done directly in this function, or if all data values are needed to perform the calculation, it can be done in fnCalculate. If the latter, this function can be used just to collect all data needed for the actual calculation into global variables.
Example
bool __cdecl fnPushValue ( const char* pszValue ) { _characterCount += strlen(pszValue); _pushedValues++; return true; }
See Also