Is the 4gl 4.12/13/whatever compiler a bit smarter
Posted in 1994
The 4.10 4GL compiler is a bit stupid. Are later versions smarter? Specifically: MAIN WHENEVER ANY ERROR STOP CALL b() CALL a() END MAIN FUNCTION a() WHENEVER ANY ERROR CONTINUE END FUNCTION FUNCTION b() DEFINE i INTEGER LET i = 1 / 0 END FUNCTION This program will *NOT* stop with an error message in function b. It also really annoys me that I have to remember to put WHENEVER ANY ERROR CALL serious_error in the front of every program module if I want to use my own error handling routine. or: DISPLAY l_variable + 1 TO screen_field `------v-------' 4GL seems incapable of coping with this sort of expression evaluation anywhere. or: Why the hell can't I use the PRINT command in a function? It sure would save some code duplication at times! THE QUESTIONS: Are any of these things considered bugs? Are any of these things likely to change in future versions? What is the ETA of 4GL++? Is 4GL++ going to be backwards compatable with 4GL? I'm happy working with Informix, I just want to live in a perfect world! Kerry S. kerry@kcbbs.gen.nz