maniootek Posted July 15, 2016 Share Posted July 15, 2016 What am I doing wrong? $id = "6" Switch $id Case "1" msgbox(0,0,1) Case "2" msgbox(0,0,2) Case "3" or "5" msgbox(0,0,35) Case "4" msgbox(0,0,4) Case "6" msgbox(0,0,6) EndSwitch script output is msgbox with "35" value Link to comment Share on other sites More sharing options...
RTFC Posted July 15, 2016 Share Posted July 15, 2016 Try: Case "3","5" maniootek 1 My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O Link to comment Share on other sites More sharing options...
maniootek Posted July 15, 2016 Author Share Posted July 15, 2016 thank you, working now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now