New and Changed “Option” Statements
Option statements are essentially compiler directives that are placed at the top of a code file (so a form, class, or module) to control how the compiler builds the code. In Visual Basic 6.0 there were four of these statements (Option Explicit, Option Compare, Option Private Module, and Option Base), but only two of those statements are included in Visual Basic .NET (Option Explicit and Option Compare). In addition to removing two of the existing statements, a completely new Option statement has been added, Option Strict.
IT IS ALL ABOUT THE FRAMEWORKThe real changes between previous versions of VB and VB.NET are not in the language but instead in many of the new Framework features. With the new models for ... |
Get Microsoft® Visual Basic® .NET 2003 Kick Start now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.