Wiki

Changes between Version 2 and Version 3 of UseDirective

Show
Ignore:
Timestamp:
11/22/10 20:31:52 (13 years ago)
Author:
todd.a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseDirective

    v2 v3  
    2121 
    2222{{{ 
     23#!cobra 
    2324use Foo.Bar from SomeLib 
    2425}}} 
     
    2728(for example, the filename has a space or punctuation mark in it). 
    2829{{{ 
     30#!cobra 
    2931use Foo.Bar from "My Lib" 
    3032}}} 
     
    3537there are five implicit "use" directives at the top of a Cobra program: 
    3638{{{ 
     39#!cobra 
    3740use System 
    3841use System.Collections.Generic 
     
    5861e.g 
    5962{{{ 
     63#!cobra 
    6064use Foo.Bar  
    6165# On .Net will look for namespace in Foo.Bar.dll if not already available 
     
    6569 
    6670{{{ 
     71#!cobra 
    6772use System.Windows.Forms  
    6873use System.Drawing 
     
    96101 
    97102{{{ 
     103#!cobra 
    98104... 
    99105    use Foo.Bar