Condition is always true

Navigation:  Messages > Macro Compiler Messages > Warnings >

Condition is always true

Previous pageReturn to chapter overviewNext page

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 updated on 11-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?conditionisalwaystrue.htm