PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Error 3: The string has no final "
Reason
This code line 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.
Note: 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")
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment