[Gambas-user] Literal Characters
Laurent Carlier
lordheavy at ...512...
Thu Aug 5 22:53:18 CEST 2004
Le jeudi 5 Août 2004 22:05, Jeff Stillinger a écrit :
> 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>"
>
the better way is (not tested)
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 \ caracter before " and , between #file and "
Regards,
--
Laurent Carlier
More information about the User
mailing list