I'm making a new FF 3.51 project using SqlToolsPro v3.
I have one form and included the ST modules.
When I compile, I get the error "source line too long".
I don't see any extraordinarily long lines. Is that error correct?
thanks
Is the line number indicated in the error message? And if so, could you show us the code on these line(s)?
I had it once or twice that there were hidden control characters in the source code (often by copy-paste'ing from other sources) that made the compiler 'think' that the source code was too long.
Copying that line into Notepad and cleaning up the code (or worst-case, typing it over all together) and putting it back often made the error go away.
Here is a screen shot of what I see. The file is the standard SQLT3.INC file that comes with sqlTools.
(https://www.planetsquires.com/protect/forum/proxy.php?request=http%3A%2F%2Fwww.nbson.com%2Ftest%2FpbImg%2Flong.png&hash=401c3a4a02a9b70a7b55864ddaf40a78669a5bfb)
Also, I use this INC file in many programs. I don't know why it's too long here.
From memory - I had the same problem and found two lines where the comments made the line too long for the compiler. I simply inserted a CR to move the comments to the next line and compiles were then successful.
Seems like this was also a problem with SQLTools 2.
I have no explanation why this would not happen to all users . . .
yep that was it. I didn't have any lines over 256 chars long but some close (around 245). I shorted them and it worked.
thanks