OpenEdge 11.6 compiler mistake or inconsistency ???

Posted by on 15-Jan-2018 02:43

Here is the code , Please look where condition . Normaly i must get syntax error , because after the where conditions is missing. 
But in this time, compile says "Syntax is correct". After i run the code, it's work fine ????

Do you have any comment ??

OpenEdge 11.6 32.bit + sp4, windows 10 opy.system.

All Replies

Posted by Rick Terrell on 15-Jan-2018 06:54

This is expected behavior. It treats it as if there were no where clause. 

This is intentional because you could conceivably build a dynamic where that is empty. 

Rick Terrell 
Principle Consultant, Professional Services 

Sent from my iPhone

This thread is closed