dlangschied
Member
We have a procedure that run persistently for generating a PDF. Our current version of Progress is 9.1D. We are in the process of upgrading to 10.1C. This code generates warning messages when it starts (below). The code that it is complaining about is also contained in this post.
[FONT=r_ansi][FONT=r_ansi][/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi]WARNING: Program /pkg3/work/appl/qad/ebcust21/src/pdf_inc.p, Line 1501 is an [/FONT][/FONT][FONT=r_ansi][FONT=r_ansi]expression statement that evaluates to a constant. (12115)[/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi][/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi]IF pdfOn < 0 THEN 1.
This code is part of an internal procedure that is passed the value of pdfOn as an integer.
Since this works in 9.1D, I am assuming that there is some reason why OE has issues.
Thanks!
[/FONT][/FONT][FONT=r_symbol][FONT=r_symbol]
[/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi][/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi]WARNING: Program /pkg3/work/appl/qad/ebcust21/src/pdf_inc.p, Line 1501 is an [/FONT][/FONT][FONT=r_ansi][FONT=r_ansi]expression statement that evaluates to a constant. (12115)[/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi][/FONT][/FONT]
[FONT=r_ansi][FONT=r_ansi]IF pdfOn < 0 THEN 1.
This code is part of an internal procedure that is passed the value of pdfOn as an integer.
Since this works in 9.1D, I am assuming that there is some reason why OE has issues.
Thanks!
[/FONT][/FONT][FONT=r_symbol][FONT=r_symbol]
[/FONT][/FONT]