|
|
|
|
- Reason
- Correction
- Examples
- Displaying a message
- Displaying a message containing an information stored in a variable
- Displaying a message written over several cole lines
Error 3: The string has no final "
Not available
This line of code contains quotes to delimit a character string. These quotes have been "opened" but they have not been closed before the end of the code line. Reminder: In the code editor, going to the next line (with the ENTER key) is considered as being a separator of statements. To specify that the current code line continues over the next line, "..." must be used at the end of the line. Check your code line and end the string with quotes. Remark: The syntactic coloring helps you see the end of the character string. Displaying a message Code triggering the error:
Info("You cannot perform this operation)
Possible correction Add the final quote at the end of the character string.
Info("You cannot perform this operation")
Displaying a message containing an information stored in a variable Code triggering the error:
Info("Unable to save the file named + FileName)
Possible correction Add a quote to separate the end of the character string from the variable.
Info("Unable to save the file named" + FileName)
Displaying a message written over several cole lines Code triggering the error:
Info("You cannot perform this operation you have no sufficient rights")
Possible correction Add the final quote at the end of the line as well as "+ ..." to specify that the character string continues over the next line.
Info("You cannot perform this operation"+... "you have no sufficient rights")
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|