Changes

Jump to: navigation, search

Understanding Visual Basic Variable and Constant Types

5 bytes removed, 18:56, 10 July 2007
Byte Variable Type
The Char variable type holds a single character (such as the letter 'B'). The value of a Char can be any character. Internally, a number in the range 0 to 65,553 is used to represents the character value as defined by the ASCII table. As an example when the letter 'Z' is assigned to a Visual Basic Char variable, the number 90 is actually stored in the variable location.
== Byte Variable Type ==
A Byte variable holds a positive number in the range 0 to 255. because of the limited range, Byte variables should be used with caution. An attempt to assign a negative value, or a value greater than 255 to a Visual Basic Byte variable will result in an error.
== Date Variable ==

Navigation menu