|
|
|
|
|
- Reason
- Correction
- Examples
- Using two incompatible WLanguage keywords
- Incorrect calculation expression
- Using a keyword without respecting its syntax: SWITCH without condition for example
- Using an incorrect syntax for the functions
A syntax error was detected in the current line of code. The reasons for this error can be: - A WLanguage keyword was improperly used.
- A WLanguage symbol (brackets, ...) was improperly used.
Check and correct the syntax of the current line. Using two incompatible WLanguage keywords Code triggering the error FOR WHILE MyVariable > 10 Array1[MyVariable] = MyVariable+10 END
Possible correction Use the appropriate keyword. WHILE MyVariable > 10 Array1[MyVariable] = MyVariable+10 END
Incorrect calculation expression Code triggering the error Use the appropriate keyword. Possible correction Delete the second " * ". Using a keyword without respecting its syntax: SWITCH without condition for example Code triggering the error SWITCH CASE 2: ErrorText = "The name of the customer is not entered" CASE 3: ErrorText = "The phone number of the customer is incomplete" END
Possible correction Specify the condition. SWITCH ErrorCode CASE 2: ErrorText = "The name of the customer is not entered" CASE 3: ErrorText = "The phone number of the customer is incomplete" END
Using an incorrect syntax for the functions Code triggering the error HReadFirst)Customer, Name)
Possible correction Replace the closing bracket by an opening bracket. HReadFirst(Customer, Name)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|