Created
April 16, 2013 00:56
-
-
Save adamkittelson/5392546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch((int)op->percent_buffer()) { | |
case 0..5: mind = "clear"; break; | |
case 6..25: mind = "almost clear"; break; | |
case 26..50: mind = "slightly fuzzy"; break; | |
case 51..75: mind = "clouded"; break; | |
case 76..89: mind = "very fuzzy"; break; | |
case 90..110: mind = "full of facts"; break; | |
default: mind = "clear"; break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment