PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Using the arithmetic operator ++ on a character string
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 507: The '++' operator is not allowed
Reason
You are trying to use the arithmetic operator ++ with a variable that does not support this operator.
Correction
Modify your code and use the appropriate operator or function.
Example

Using the arithmetic operator ++ on a character string

Code triggering the error
MyString is string = "A"
MyString++
Possible correction
Use the += operator to add a value to the MyString variable.
MyString is string = "A"
MyString+=MyString
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment