Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Warnings

Condition is always true

Scroll Prev Up Next More

This compiler warning is generated if the condition used in an if-else branch is always true.

var 
begin   
    if true
      // do something
    endif         
end                          

This is a very rare warning, but one that probably means that you forgot to finish something in your macro (the true might have been placed there for testing, and then you forgot to remove it).

 


Topic 109014, last updated on 18-Apr-2020