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