[Gambas-user] Non terminated String
Dag Jarle Johansen
dag.jarle.johansen at ...2312...
Wed Feb 3 19:56:25 CET 2010
Hi all,
I can't figure out what I have wrong here. I am generating subs and
functions, and use a lot of string-handling. In just one line I become
the error: Non terminated String, looks like this:
(1)
SQL = SQL & "user ='" & mOPT.CurUser & "',"
the source generating is:
(2)
S = SF & "SQL = SQL " & Chr(34) & " user = '" & Chr(34) & " &
mOPT.CurUser & " & Chr(34) & "',"
SF is just 4 Spaces.
if I (in 1) delete the space after "user='"_, here marked with an _, it
works. I have many lines generated, everywhere else it works.
to make it eaysier to see:
SQL = SQL & "user ='"_& mOPT.CurUser & "',"
the problem is here ^
does anyone have an idea?
thanks and regards,
Dag
More information about the User
mailing list