ucReturn

ucReturnStr

 

See Also: ucDefineFunction, ucDefineOperator, ucArg, ucArgHandle

 

Sets the return value for a Native callback routine.

 

ucReturn(ExpressionHandle, NumericValue)

- or -

ucReturnStr(ExpressionHandle, StringValue)

 

Parameters

ExpressionHandle

All native callback routines receive one argument, which is ExpressionHandle.  This handle is required as the first argument of ucReturn() or ucReturnStr().

 

NumericValue or StringValue

      This is the return value.

 

 

Examples:

 

Example 1:  Returning a numeric value

Example 2:  Returning a string value