Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: START/FINISH report with a function name  (Read 9206 times)
David H.
Posts: 158


« on: October 07, 2008, 05:02:00 pm »

Hi All,

Don't know if this has been mentioned before, but one of the developers here just mentioned that if a report is START/FINISHed with a function name (instead of the report name) then the compiler (v2.11.02 on Windows) reports a rather unfriendly error, i.e:-

INTERNAL ERROR:fglcPass2.c(2758)
f->fuType == FuReport

It would be nice if a more user friendly error could be generated. I believe OUTPUT TO REPORT gives a much more reasonable error message.

Regards,

David
Sebastien F.
Four Js
Posts: 545


« Reply #1 on: October 07, 2008, 05:11:55 pm »

Hello David and thank you for reporting this.

I think it's fixed in 2.11.04:

[sf@fox tests]$ fglcomp -V
fglcomp 2.11.04 build-1169.67
Built Oct  6 2008 17:32:14
(c) 1989-2008 Four J's Development Tools

[sf@fox tests]$ cat report1.4gl
MAIN
  START REPORT func1
END MAIN
FUNCTION func1()
END FUNCTION

[sf@fox tests]$ fglcomp -M report1.4gl
report1.4gl:4:1:5:12:error:(-6620) The symbol 'func1' is not a REPORT.

Seb
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines