PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Reason
  • Correction
  • Examples
  • The following code tries to perform a subtraction between two character strings
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
Error 502: Incompatible type
Reason
You are trying to perform an arithmetical operation or a logical operation between two expressions of incompatible type.
Correction
This type of operation is not possible. Find the WLanguage functions allowing you to perform this operation.
Examples

The following code tries to perform a subtraction between two character strings

Code triggering the error
string1 is string
string2 is string
Trace(string1-string2)
Possible correction
No subtraction of character strings can be performed in WLanguage.
Minimum version required
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment