new 7.3 command editor

Discussions about editing and cleaning data
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

new 7.3 command editor

Post by AriSilva »

The compiler detects the errors, but the editor is pointing to different lines.
Or the line numbers are wrong.
Please look at the picture.
The errors are in lines 903 and 905, but the red dots are in 888 and 890.
Attachments
compiler.PNG
compiler.PNG (35.18 KiB) Viewed 2935 times
Best
Ari
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: new 7.3 command editor

Post by aaronw »

The line numbers of syntax errors aren't always exact. At the worst they are close, and we are working to improve them.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: new 7.3 command editor

Post by Gregory Martin »

Are you using a beta version of 7.3? There was a problem with line numbers not matching in an early version but we thought that we fixed it for the final release. If you're using the released version, can you send us this application and we'll fix it.
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Re: new 7.3 command editor

Post by AriSilva »

Attached.
In order to reproduce the error, change the function name liberarReserva() in line 912 to anything.
It might be related to count (or not) commented lines or lines in commented blocks {}
Attachments
TCA_40_Menu.zip
(40.22 KiB) Downloaded 206 times
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: new 7.3 command editor

Post by Gregory Martin »

You're right that this is still an error. The issue is that all of the comments before PROC GLOBAL aren't getting added to the line count. If they're removed, the line numbers are correct.

We'll fix this for the next release.
Post Reply