Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference Between Select Case and If...Else Statement
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Can anyone tell me the Difference Between Select Case and If...Else Statement in VBScript.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
If we have Multiple Cases, We will use Select Case Function only.
Though If statement also can perform the same Logic, It need condition for each If, ElseIf part. That means If Condition will start from the first condition waits for the condition and comes to next condition(ElseIf) and waits for the condition there and goes on.

But in Select cases it wont wait.It will directly go to the case.

Hope it's clear

Thanks
VENKATA
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Venkata,
Thanks a lot for the answer...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference between "Set" and "Type" falvi 2 10,133 04-03-2012, 05:54 PM
Last Post: falvi
  Difference between RFT & QTP? SweetyChowdhury 18 20,695 08-26-2011, 07:43 AM
Last Post: nana1355

Forum Jump:


Users browsing this thread: 1 Guest(s)