Wiki

Changes between Version 12 and Version 13 of C

Show
Ignore:
Timestamp:
08/24/10 03:37:09 (14 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • C

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