|
|
|
|
|
- Reason
- Correction
- Example
- Assigning a member of the current class
Error 4: A space is required after the ':' character
This line of code is used, for example, to assign or to access a member of a class in a SWITCH loop. The ':' character is successively used to: - specify the condition (CASE: ),
- specify the member of the class.
Add a space character between the two "colons". Assigning a member of the current class Code triggering the error SWITCH NbDir CASE 1: i=1 CASE 2: i=2 CASE 5::b=4 END
Possible correction Insert a space between the characters ::. SWITCH NbDir CASE 1: i=1 CASE 2: i=2 CASE 5:: b=4 END
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|