Wiki

Changes between Version 5 and Version 6 of PortingC

Show
Ignore:
Timestamp:
08/23/10 15:36:59 (14 years ago)
Author:
nevdelap
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingC

    v5 v6  
    219219    e.g {{{"some constant [ string ]" ---> "some constant [[ string ]]"}}} 
    220220 
    221 19. Adding eventHandlers 
     22119. Boolean expressions must be reviewed to ensure that they will work correctly. Add parentheses to ensure that the C# boolean expressions (which give '''and''' precedence over '''or''') will be evaluated correctly in Cobra (which gives '''and''' and '''or''' equal precedence.) 
     222 
     22320. Adding eventHandlers 
    222224    Cobra uses the '''listen''' statement to register event handlers where C# uses an override on  
    223225    the += operator.  [[br]] 
     
    245247 
    246248 
    247 20. Main method 
     24921. Main method 
    248250    'public void' is default, static is an accessmodifier which becomes ''''shared'''' in cobra, 
    249251    C# attributes (!MetaInformation) are denoted with ''''has''''