A pedant that hangs out in the dark corner-cases of the web.

Wednesday, February 16, 2011

Then What? elif, elsif, elseif, or else if?

"Else if" in multiple languages:
  • elif : Python, bash, and F#
  • elsif : Perl and Ruby
  • elseif : PHP and PowerShell
  • else if : C, C++, C#, JavaScript, and just about everything else (if)
  • ELSE IF : T-SQL (case-insensitive)
  • ElseIf : VB, VBScript, and VB.NET (case-insensitive)

4 comments:

Anonymous said...

Thank you! Someone really needs to make a cross-language cheat sheet for basic syntax like this.

Anonymous said...

Good day! Do you know if they make any plugins to assist with SEO?
I'm trying to get my blog to rank for some targeted keywords but I'm
not seeing very good success. If you know of any please share.
Appreciate it!

Also visit my website: magnum cash advance complaints

Anonymous said...

Wе ѕtumbled οver herе dіfferent web page аnd thοught Ӏ
mаy as well check thіngs out. I lіkе
what I see so now i'm following you. Look forward to going over your web page repeatedly.

My blog: reputation management

Anonymous said...

Thаnκfulnesѕ to mу fathеr who іnformeԁ me
on the topic of this web site, thiѕ ωeblog is аctually amazing.


Lоok into my web page; DiamondLinks.net Review