Wiki

Changes between Version 1 and Version 2 of CobraSyntaxHilights

Show
Ignore:
Timestamp:
01/12/14 04:05:27 (4 years ago)
Author:
hopscc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CobraSyntaxHilights

    v1 v2  
    11= Cobra Code Examples = 
    22 
    3 Some highlights of Cobra code and syntax ( on .Net) 
    4  
    5 Here are the cobra code samples for the same items for a  
     3Some highlights of Cobra code and syntax ( on .Net). 
     4 
     5These are selected cobra code samples for the same items as in  
    66[http://www.harding.edu/fmccown/vbnet_csharp_comparison.html VB and C# comparison]. 
    77 
     
    679679numbers.add(2) 
    680680numbers.add(4) 
    681 displayList<of int>(numbers) 
     681.displayList<of int>(numbers) 
    682682 
    683683# Function can display any type of List 
     
    801801        .name = name; 
    802802        .version = 0; 
    803     } 
    804 } 
    805803 
    806804class Shape  
     
    809807    def move  
    810808        has IsTested  
    811         // Do something... 
     809        # Do something... 
    812810     
    813811}}}