Syntax '#Language "WWB.NET"
Group Declaration
Description Selects Visual
Basic.NET(TM) compatibility. This language may not be available on your
installation.
If this special comment is not included then the macro/module is parsed using
'#Language "WWB-COM" rules without the enhancements.
Language reference by group:
• Project, Declaration, Data Type, Assignment
• Flow Control, Error Handling
• Conversion, Variable Info, Constant
• Math, String, Object, Time/Date, File
• User Input, User Dialog, Dialog Function
• DDE, Settings, Miscellaneous
• Operator
These VB.NET keywords are recognized, but not supported: FileGet, FileGetObject, FilePut, FilePutObject, Inherits, Interface, MyBase, MyClass, MustInherit, MustOverride, Namespace, Narrowing, NotInheritable, NotOverridable, Operator, Overloads, Overridable, Overrides, Partial, Protected, SyncLock, Widening.
Limitations
Syntax and execution is not guarenteed to be the same as VB.NET. • Execution is restricted to a single thread.
• Type inference is not supported.
• Anonymous methods are not supported.
• LINQ is not supported.
• XML literal expressions are not supported.
• Methods implemented by modules/macros can't be overloaded.
• Classes implemented by WWB.NET are not true .NET class. (Only COM interfaces are supported. Use the Implements keyword to implement .NET interfaces.)
• Generic methods calls are not supported. (Generic types are supported.)
• String variables can't be set to Nothing and are never Nothing.
• { array } syntax is only supported for one dimensional arrays.
• < attribute > syntax is allowed, but ignored.
Projects: A '#Language comment in a project's module is a
syntax error. The project itself contains the '#Language comment for all the modules
in the project.
Version Available for WinWrap Basic version 9.1 or higher. (Not supported in Windows CE Applications.)