_RetVal( ) API Library Routine

See Also   Example

Returns any Visual FoxPro data type, except Memo.

Syntax

void _RetVal(Value FAR *val)
Value FAR *val;            /* Pointer to value structure. */

Remarks

_RetVal( ) passes a complete Visual FoxPro Value structure. You must call _RetVal( ) to return a string that contains embedded null characters.

For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.