PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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