PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Peter House on January 04, 2011, 09:55:07 AM

Title: Replace "endif" with "End If"
Post by: Peter House on January 04, 2011, 09:55:07 AM
This is one of those silly little typos which VB automatically fixed.  I still make the typo occasionally since I got used to NOT typing the space in VB and have had lazy fingers ever since!
Title: Re: Replace "endif" with "End If"
Post by: Wilko Verweij on January 04, 2011, 10:30:47 AM
I'm also lazy and make this mistake all the time...
Title: Re: Replace "endif" with "End If"
Post by: Peter House on January 04, 2011, 10:35:51 AM
:)  I am NOT Lazy - just my fingers are.  :)

Title: Re: Replace "endif" with "End If"
Post by: Wilko Verweij on January 04, 2011, 11:08:33 AM
Sorry, did not want to insult you. My fingers are lazy and so am I.
Title: Re: Replace "endif" with "End If"
Post by: Rolf Brandt on January 04, 2011, 12:36:21 PM
I fully understand you, 50 percent of my End If's end up in endif too. That goes back to old QuickBasic 4.0 times already.

Unfortunatly VB never fixed endwith.
Title: Re: Replace "endif" with "End If"
Post by: Douglas McDonald on January 05, 2011, 08:10:56 PM
There seems to be no standard for this. Personally I like "End IF"over "EndIF" My Proton editor uses'endif' PB uses "End If". VB uses "End IF".......I really don't care but I wish it was the same across the board. I guess the best way is to be able to use ether one.

Doug
Title: Re: Replace "endif" with "End If"
Post by: David Maruca on March 05, 2011, 09:15:30 AM
I totally agree with this. My VB editor did this for so many years that i just type endif anyway. Maybe I should make a macro for it lol