#Language Comment
Syntax
xml:space="preserve"
Group
Description
Selects enhanced Visual Basic for Applications compatibility.
Including this special comment enables these enhancements:
-
Instructions: Return
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
Limitations
Syntax and execution is not guaranteed to be the same as VBA.
-
Execution is restricted to a single thread.
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
Sandbox
Sandbox mode blocks this language. Sandbox mode is controlled by the host application. End users can not change it.