Wiki

Changes between Version 1 and Version 2 of UseDirective

Show
Ignore:
Timestamp:
10/20/09 09:17:56 (15 years ago)
Author:
hopscc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseDirective

    v1 v2  
    3232 
    3333== Platform == 
    34 On .Net <library-name> will refer to a .Net Assembly or dll[[BR]] 
     34For .Net  
     35there are five implicit "use" directives at the top of a Cobra program: 
     36{{{ 
     37use System 
     38use System.Collections.Generic 
     39use System.IO 
     40use System.Text 
     41use Cobra.Lang 
     42}}} 
     43This gives default access to The core of the .Net objects and the cobra  
     44runtime Library, !CobraCore.  
    3545 
    36 No ".dll" extension is expected (or allowed) in any of the above syntax. 
    37    
    38  
    39 For .Net the default loaded libraries are 
     46These correspond to access to the following default loaded libraries 
    4047{{{ 
    4148mscorlib.dll 
     
    4350Cobra.Lang.dll 
    4451}}} 
    45 and the library name is the  namespace with ".dll" appended  
    4652 
     53On .Net <library-name> will refer to a .Net Assembly or dll[[BR]] 
     54 
     55No ".dll" extension is expected (or allowed) in any of the above syntax. 
     56   
     57The library name is the namespace with ".dll" appended  
    4758e.g 
    4859{{{ 
     
    5061# On .Net will look for namespace in Foo.Bar.dll if not already available 
    5162}}} 
     63 
    5264== Examples == 
    5365