Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum {
- bobtrue,
- bobfalse
- } customBool;
- ----
- customBool bob;
- if(bob == bobtrue)
- {
- //bob is true, do whatever
- }
- else if(bob == bobfalse)
- {
- //bob is false, do whatever
- }
- else
- {
- //bob is either true and false, or neither true nor false, do whatever/
- }
Add Comment
Please, Sign In to add comment