[Gambas-user] Literal Characters
Rob
sourceforge-raindog2 at ...94...
Thu Aug 5 22:52:56 CEST 2004
On Thursday 05 August 2004 16:05, Jeff Stillinger wrote:
> This code makes the following error.
> Non Terminated string at line xx in Form1.class
>
> PRINT #hfile " <meta http-equiv="content-type" "
> PRINT #hfile " content="text/html; charset=ISO-8859-1"> "
> PRINT #hfile "<td style="vertical-align:
> top;">"&Textbox1.Text&<br>"
should be:
PRINT #hfile " <meta http-equiv=\"content-type\" "
PRINT #hfile " content=\"text/html; charset=ISO-8859-1\"> "
PRINT #hfile "<td style=\"vertical-align: top;\">" &
Textbox1.Text & "<br>"
Note the backslashes. But you were also missing a double quote
before that last <br>.
Rob
More information about the User
mailing list