Example
The following example returns the first and second parameters of a custom function as long integer values.
C++
Val1 = m_Spread.CFGetLongParam(1);
Val2 = m_Spread.CFGetLongParam(2);
Visual Basic
Val1 = fpSpread1.CFGetLongParam(1)
Val2 = fpSpread1.CFGetLongParam(2)