sqlTools 3 source line too long

Started by Shawn Anderson, August 10, 2012, 02:43:07 PM

Previous topic - Next topic

Shawn Anderson

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

Eddy Van Esch

#1
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.
Eddy

Shawn Anderson

Here is a screen shot of what I see. The file is the standard SQLT3.INC file that comes with sqlTools.


Shawn Anderson

Also, I use this INC file in many programs. I don't know why it's too long here.

Peter House

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 . . .

Shawn Anderson

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