次の方法で共有


Routines to Return Results to Visual FoxPro

These API routines allow you to return results to Visual FoxPro as a specified data type.

_RetChar( )

Sets the function return value to a null-terminated string.

_RetCurrency( )

Sets the library return value to a currency value.

_RetDateStr( )

Sets the function return value to a date. The date is specified in mm/dd/year format, where the year may be either two or four digits.

_RetDateTimeStr( )

Sets the library return value to a datetime.

_RetFloat( )

Sets the function return value to a float value.

_RetInt( )

Sets the function return value to a numeric value.

_RetLogical( )

Sets the function return value to a logical value. Zero is considered False. Any non-zero value is considered True.

_RetVal( )

Passes a complete Visual FoxPro Value structure, so it can return any Visual FoxPro data type except for memo. You must call _RetVal( ) to return a string that contains embedded null characters.