I'm still not seeing anything that shows a need for endif in either example you gave. Can you give an example showing how you want to use endif and how it would look without it for comparison?

endif just tells the program/script that it's the end of the IF statement. The } (or the end of the line if no {}'s are used) also does this. I just don't see where you're going with this.


Invision Support
#Invision on irc.irchighway.net