O'Reilly logo

Special Edition Using Microsoft® Visual Basic® .NET by Jeff Spotts, Brian Siler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changes to the Language

The following sections detail a number of changes that have occurred to the Visual Basic language since version 6.0. For a more complete reference to the Visual Basic language changes, look for the topic “Language Changes in Visual Basic” in the Visual Basic .NET Help system, which can be found in the Help index under “Visual Basic/changes to.”

Array Bounds

When you declared an array in VB6, the default behavior was for the lowest-numbered element of the array to be element 0. In other words, declaring an array with the line Dim MyArray(3) As Integer created an array containing four elements: MyArray(0), MyArray(1), MyArray(2), and MyArray(3). However, you could use the statement Option Base to cause arrays to begin ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required