ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Examples
  • The following code tries to perform a subtraction between two character strings
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
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.
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help