Wiki

Changes between Version 10 and Version 11 of C

Show
Ignore:
Timestamp:
08/23/10 16:19:43 (14 years ago)
Author:
nevdelap
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • C

    v10 v11  
    5151 * Condition negation uses keyword '''not'''  ( as in {{{ not a >10}}} ) 
    5252 * 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 
    54       have equal precedence. When converting code to Cobra, or writing new code parentheses are needed 
    55       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 parentheses are needed to get the same results as in C#. 
    5654 * '''nil''' for no object (null) value 
    5755 * Supports +=, -=, etc. Does not support ++ or -- unary operators ( use += 1 and -= 1 instead).