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 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user