07-02-2012, 10:47 AM
LCD Wrote:Note: Both ENDIF and END IF are allowed for the IF sentence. If not, it is a compiler bug.frisian Wrote:Regards,I like ENDIF much more than END IF, but the fact is that ENDIF belongs to compiler directives (#IFDEF/#ENDIF). Check this post from boriel: <!-- l --><a class="postlink-local" href="http://www.boriel.com/forum/post903.html?hilit=#p903">post903.html?hilit=#p903</a><!-- l -->
Frisian
P.S auto complete gives ENDIF but the compiler only accepts END IF
#ENDIF (with sharp # prefix) is also used for the preprocessor.