PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment