Changes between Version 5 and Version 6 of PortingC
- Timestamp:
- 08/23/10 15:36:59 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingC
v5 v6 219 219 e.g {{{"some constant [ string ]" ---> "some constant [[ string ]]"}}} 220 220 221 19. Adding eventHandlers 221 19. 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 223 20. Adding eventHandlers 222 224 Cobra uses the '''listen''' statement to register event handlers where C# uses an override on 223 225 the += operator. [[br]] … … 245 247 246 248 247 2 0. Main method249 21. Main method 248 250 'public void' is default, static is an accessmodifier which becomes ''''shared'''' in cobra, 249 251 C# attributes (!MetaInformation) are denoted with ''''has''''