ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / C functions
  • Use
  • Syntax
  • Notes
  • Returned value
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help