ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help