In VB2005, you can declare multiple variables of the same data type on a single line without having to repeat the type keyword. For instance, a statement such as Dim m, n As Double specifies that both variables have data type Double. (In VB6, only n would have type Double.) In VB2005, all variables must be declared as being of a specific type. In VB2005 variables can be given an initial value when they are declared. VB2005 does not allow the use of the Print method to display text in a picture box or on a form. In VB2005, Option Explicit defaults to On. The built-in functions Sqr and Round from VB6 are replaced in VB2005 by the functions Math.Sqrt and Math.Round. In VB2005, the + =, =, * =, / = and ^= operators are available as shortcuts for certain types of assignment statements. |