ElseIf vs Else If

Por anos agora eu tenho usadoElse If codificar em VBScript ...

If a = b Then
    ...
Else If a = c Then
    ...
End If

O que parece funcionar conforme necessário. Eu também vi muitos sites na web que usamElse If, exceto o MSDN que usaElseIf.

Existe alguma diferença entreElseIf versusElse If?

Snippet

Aqui está um que eu codifiquei anteriormente e que funciona muito bem no ASP clássico:

If IsDate(wD) Then
    wS = wD
Else If wD&"" <> FormatDisplayDate(wS) Then
    wS = WeekStart(Date())
    wD = FormatDisplayDate(wS)
End If

Aqui está um trecho de um pedaço de código mais antigo, escrito por outra pessoa ...

if opip = "IP" then
    opip = "In Patient"
Else If opip = "OP" then
    opip = "Out Patient"
End If

Nada disso é executado através de um compilador, no entanto, tudo é interpretado.

Ignore esse lixo - eu estraguei uma pesquisa e substituí no IDE.

questionAnswers(2)

yourAnswerToTheQuestion