Do You Need VB Help
Sign in

do you need VB help

Arrays are declared by specifying the lower and upper bounds in a way similar to FORTRAN and Pascal. It is also possible to use the Option Base statement to set the very default lower bound. Use of the Option Base statement can lead to confusion when reading Visual Basic code or is very best avoided by always explicitly specifying the lowest bound of the array. This lower bound is not limited to 0 and 1, because it can also be set by declaration. In this way, both the upper and lower bounds are programmable. In more subscript-limited languages, the lower bound of the array is not a variable. This uncommon trait does exist in Visual Basic .NET but not in visual basic Script.

OPTION BASE was introduced by ANSI, and with the standard for ANSI Minimal BASIC in the late 1970s.

Relatively strong integration with the Windows operating system or the Component Object Model. The native types for arrays AND strings are the dedicated COM types, SAFEARRAY and BSTR.

Banker's rounding as the default behavior when converting real numeric numbers to integers with the Round function? Round (2.5, 0) gives 2, ? Round (3.5, 0) gives 4.

Integers are automatically promoted to reals in expressions involving the normal division operator (\) so that division of only one integer by another produces the intuitively correct result. There is a specific integer divide operator (/) which does truncate.

Related links: Visual Basic Assignment Help

start_blog_img