devxlogo

February 18, 2004

Bit Shifting in VB

The basic principal of this function is to divide the decimal number by two for bit number of times (if that makes sense). So, if bit 30 was to be

Handling a Final Empty Parameter

The StringTokenizer and the Missing Token tip tells us how to cater for empty parameters, for example in the comma delimited string following: token1,token2,,token4,,,token7 The tip works well, with the

Two-dimensional Arrays

Data that is in rows and columns is usually stored in 2-dimensional arrays. Two-dimensional arrays are declared by specifying the number of rows then the number of columns. Unless specified,