PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Use
  • Syntax
  • Notes
  • Returned value
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Use
Allows you to retrieve the return value further to a call to nWDEvaluate, nWDExecute or nWDExecuteEx.
Each one of the functions presented below returns a different type. To find out the type that will be returned by the WLanguage code:
Syntax
BOOL bWDGetReturnValue(void);
Return value if an error occurred: If the value is not a boolean, the function returns False.
Int nWDGetReturnValue(void);
Return value if an error occurred: If the value is not an integer, the function returns 0.
WDINT64 i64WDGetReturnValue(void);
Return value if an error occurred: If the value is not an 8-byte integer, the function returns 0.
Double dWDGetReturnValue(void);
Return value if an error occurred: If the value is not a float, the function returns 0.0.
Double dWDGetReturnValue(void);
Return value if an error occurred: If the value is not a float, the function returns 0.0.
Notes

Returned value

A default value will be returned if the type of the return value does not correspond to one of the above-mentioned functions. This default value is specified for each function (return value if an error occurred)
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment