Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FOR loop with nested CASE
#2
Not Solved
Hi Charles
below is Select case Syntax

Code:
MyVar="Red"
Select Case MyVar
      Case "red"     document.bgColor = "red"
      Case "green"   document.bgColor = "green"
      Case "blue"    document.bgColor = "blue"
      Case Else      MsgBox "pick another color"
End Select
Reply


Messages In This Thread
FOR loop with nested CASE - by wheelercha - 12-11-2009, 01:12 AM
RE: FOR loop with nested CASE - by nil - 12-11-2009, 10:23 AM
RE: FOR loop with nested CASE - by upadhyay40 - 12-12-2009, 10:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Infinit loop Suma Parimal 1 2,780 05-29-2014, 01:22 PM
Last Post: basanth27
  Exit Do loop shipu 1 4,902 12-20-2013, 06:33 AM
Last Post: basanth27
Smile Infinite FOR loop issue Sivapratha 3 4,446 04-01-2013, 09:44 AM
Last Post: basanth27
  Not Invoked particular Test Case kotaramamohana 6 4,213 12-30-2011, 05:39 PM
Last Post: ravi.gajul
  Do Until loop returning failure mitch 0 3,599 05-27-2011, 12:20 AM
Last Post: mitch

Forum Jump:


Users browsing this thread: 2 Guest(s)