ONE:
I didn't know that this Topic Thread was 6 years old.
TWO:
For GW-BASIC "ElseIf" has to be "Else If"; but, for VBScript, "ElseIf" is correct.
My Statement that the last "ElseIf" in the "If...Then...ElseIf" Loop needs to be "Else".
Look on Page 21 in VBScript 3rd Edition. The Programming Code for Function PromptUserName uses "ElseIf" not "Else If".
Also "ElseIf" does work in my VBScript Codes on my COMPAQ ARMADA 1750 Laptop with Windows 2000 Profressional.
THREE:
That same Function PromptUserName Code has "Else" as the last "ElseIf" Option in the "If...Then...ElseIf" Loop.
THEREFORE...YOU ARE WRONG...AND I AM CORRECT.
Of course...I am putting "Else" and "ElseIf", and "Else If" in quotes because I am talking about those specific word spellings; and, those quotation marks don't belong in any Code.
Just to be sure, you have mis-read my meaning in my original Reply.
Last edited by Tandy1000SL GW-BASIC; April 30th, 2009 at 08:45 PM..
|