Changes between Version 1 and Version 2 of UseDirective
- Timestamp:
- 10/20/09 09:17:56 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseDirective
v1 v2 32 32 33 33 == Platform == 34 On .Net <library-name> will refer to a .Net Assembly or dll[[BR]] 34 For .Net 35 there are five implicit "use" directives at the top of a Cobra program: 36 {{{ 37 use System 38 use System.Collections.Generic 39 use System.IO 40 use System.Text 41 use Cobra.Lang 42 }}} 43 This gives default access to The core of the .Net objects and the cobra 44 runtime Library, !CobraCore. 35 45 36 No ".dll" extension is expected (or allowed) in any of the above syntax. 37 38 39 For .Net the default loaded libraries are 46 These correspond to access to the following default loaded libraries 40 47 {{{ 41 48 mscorlib.dll … … 43 50 Cobra.Lang.dll 44 51 }}} 45 and the library name is the namespace with ".dll" appended46 52 53 On .Net <library-name> will refer to a .Net Assembly or dll[[BR]] 54 55 No ".dll" extension is expected (or allowed) in any of the above syntax. 56 57 The library name is the namespace with ".dll" appended 47 58 e.g 48 59 {{{ … … 50 61 # On .Net will look for namespace in Foo.Bar.dll if not already available 51 62 }}} 63 52 64 == Examples == 53 65