JavaScript Editor js editor     Web development 



Main Page

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

_RetChar( ) API Library Routine


Sets the function return value to a null-terminated string.
_RetCurrency( ) API Library Routine


Sets the library return value to a currency value.
_RetDateStr( ) API Library Routine


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( ) API Library Routine


Sets the library return value to a datetime.
_RetFloat( ) API Library Routine


Sets the function return value to a float value.
_RetInt( ) API Library Routine


Sets the function return value to a numeric value.
_RetLogical( ) API Library Routine


Sets the function return value to a logical value. Zero is considered False. Any non-zero value is considered True.
_RetVal( ) API Library Routine


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.

See Also



JavaScript Editor js editor     Web development