Section 7.1


[Page 623 (continued)]

In VB2005, there are no fixed-sized arrays; all arrays are dynamic. That is, no matter how an array is declared, it can always be resized.

In VB2005, arrays must have a lower bound 0. A range cannot be specified using the To keyword.

In VB2005, statements of the form Dim arrayName intVar As varType are valid.

In VB2005, you cannot use ReDim in the initial declaration of an array. You can use it only to change the size of an array that has been declared.

In VB2005, ReDim no longer accepts an As clause to change the type of an array.

In VB2005, when an array is an argument of a procedure call, the name of the array is not followed by parentheses.

In VB2005, statements of the form array1 = array2 can be used to assign all of array2's values to array1.




An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net