ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Examples
  • Displaying a message
  • Displaying a message containing an information stored in a variable
  • Displaying a message written over several cole lines
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Error 3: The string has no final "
Reason
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.
Correction
Check your code line and end the string with quotes.
Remark: The syntactic coloring helps you see the end of the character string.
Examples

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…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help