Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   Case Select
 

Vbs / Case Select

Select one from a number of string values.


strColour = "blue"

Select Case strColour

 Case "red"
  script.echo "red"
        Case "green" 
  wscript.echo "green"
        Case "blue"
  wscript.echo = "blue"
        Case Else
  wscript.echo "unknown"
End Select





Please note that a disclaimer applies to any code on this page.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
- Script Editors
- Tutorials
- Vbscript