Wiki

Changes between Version 11 and Version 12 of C

Show
Ignore:
Timestamp:
08/23/10 18:31:18 (14 years ago)
Author:
nevdelap
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • C

    v11 v12  
    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 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#. 
    5454 * '''nil''' for no object (null) value 
    5555 * Supports +=, -=, etc. Does not support ++ or -- unary operators ( use += 1 and -= 1 instead).