View Single Post
  #8 (permalink)  
Old April 22nd, 2009, 06:09 PM
Old Pedant Old Pedant is offline
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

*ANOTHER* WRONG ANSWER.

ELSEIF is a special keyword in VBScript (and in VB6 and in VB5 and in VB.NET and...).

It is *NOT* the same thing as Else If (note the space).

The code as given, with Elseif *IS CORRECT*.

Oh, and now you are answering SIX year old posts.
Reply With Quote