Changes between Version 8 and Version 9 of GoodCodeExamples
- Timestamp:
- 05/20/09 15:13:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoodCodeExamples
v8 v9 41 41 } 42 42 }}} 43 * if-else if- else example: 44 {{{ 45 if (a != b) { 46 // something... 47 } else if (c != d) { 48 // other thing... 49 } else if ((b == c) && (a == d)) { 50 // third thing, I put the brackets for easier reading, they are not mandatory. 51 } else { 52 // four... 53 } 54 }}}