Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum {
- bobfalse,
- bobtrue
- } customBool;
- ----
- customBool bob;
- bob = true; //notice it's not bobtrue;
- switch(bob)
- {
- case bobtrue:
- //Bob will go here
- break;
- case bobfalse:
- //Bob will NOT go here
- break;
- default:
- }
Add Comment
Please, Sign In to add comment