Changes between Version 12 and Version 13 of C
- Timestamp:
- 08/24/10 03:37:09 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C
v12 v13 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 additional parentheses are needed to get the same results as in C#.53 * boolean '''and''' and '''or''' have equal precedence in Cobra whereas in C# they are differentiated. When converting code to Cobra, additional parentheses may be needed. 54 54 * '''nil''' for no object (null) value 55 55 * Supports +=, -=, etc. Does not support ++ or -- unary operators ( use += 1 and -= 1 instead).