Since using Clarion 12, have this problem, but now it starts to annoy me…
When there is some erorr in code, when I click on the error, it takes me to some random plase
in code etitor, not to line where error is…
Even after deleting all the source code, cleaning up the project, and generating a new app from the TXA file, the problem persists. There’s probably something better, but the quickest way is to reinstall C12. C12 is clearly more uncertain than C10. Especially when it comes to a module with AppFrame
The only time I have seen errors like that is when there is an invisible unicode character in the source.
It’s quite common if you are using AI for assistance unless you specify delivery as pure ASCII.
I’m guessing you really don’t have 55,000+ lines of code in your module.
If you are not using AI or don’t have an outside file with invisible chars or a weird code page in it then it could be something C12 is doing as we move towards support for Unicode.
If you have put code from an AI in, select it and CUT it out, then PASTE it into Notepad. Then SELECT ALL and COPY/PASTE it back into Clarion. That will usually get rid of it unless the AI has injected a BOM into it.
I saw this sort of errors hundreds of times in C11 over the past year.
The giveaway is usually that the error is thousands of lines forward in code (when there are not that many)
That would be a good check to open the Module CLW and jump (Ctrl+G) to line 55477 to see if that is the correct error line.
There are 158 Warnings that I would try to get rid of, or at least review to see if something jumps out as a problem … then get rid of them. You want none.
Thanks Carl, the line in clw is correct, but opening external editor is not productive…
Warnings are form IPX code of IPDriver, I can’t do anything about it, as it is in readonliy part of code…
Label duplicated, second used: IPX - D:\Programi\Activa12c\Activa12c.clw:1440