Tuesday, November 30, 2010

Incrementing a bool Variable

You can increment (++) a bool variable.

If the variable is false, it will become true.
If the variable is true , it will stay true.

No comments:

Post a Comment