Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with switch statement

Status
Not open for further replies.

kcrist84

Programmer
Jul 14, 2008
6
0
0
US
I am new to this and am maybe wanting to try a switch, but not real sure how to do syntax wise. Could someone point me in the right direction. I am taking values from different places in a message and checking them with a table. right now i have 3 values to check, but will eventually have more.So if value1 = number in table, then i just want to automatically stop and send the message, else i want to check value2 and so on.
Any help is appreciated.
 
Well, after i posted this i kept doing some reading and research and came up with that conclusion, but wasnt positive. I guess i have to do a bunch of if, and elseifs from what i have read.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top