Title: START/FINISH report with a function name Post by: David H. 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 Title: Re: START/FINISH report with a function name Post by: Sebastien F. 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 |