Changes between Version 11 and Version 12 of C
- Timestamp:
- 08/23/10 18:31:18 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C
v11 v12 51 51 * Condition negation uses keyword '''not''' ( as in {{{ not a >10}}} ) 52 52 * boolean conditions use keywords '''and''' and '''or''' ( as in {{{ if a>3 and b<10 or b>55 }}}) 53 * boolean '''and''', '''or''' and '''implies''' do not follow the conventions of boolean logic. In Cobra they have equal precedence. When converting code to Cobra, or writing new code parentheses are needed to get the same results as in C#.53 * boolean '''and''', '''or''' and '''implies''' do not follow the conventions of boolean logic. In Cobra they have equal precedence. When converting code to Cobra, or writing new code additional parentheses are needed to get the same results as in C#. 54 54 * '''nil''' for no object (null) value 55 55 * Supports +=, -=, etc. Does not support ++ or -- unary operators ( use += 1 and -= 1 instead).