ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Using the -- 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 530: The -- operator is not allowed
Reason
You are trying to use the -- operator on a variable that does not support this operator.
Correction
Modify your code and use the appropriate operator or function.
Example

Using the -- operator on a character string

Code triggering the error
MyString is string = "ABCD"
MyString--
Possible correction
Use the Left function to remove the letter D from the MyString variable.
MyString is string = "ABCD"
MyString = Left(MyString, 3)
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help