Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Warnings

Loop can never be entered

Scroll Prev Up Next More

This compiler warning is generated if a while loop is based on a condition which is always false.

var
begin   
    while false
    
    endwhile          
end                

In the above example it is clear that execution will never enter the loop.  

 

 


Topic 109012, last updated on 18-Apr-2020