Changes

Jump to: navigation, search

Understanding Visual Basic Variable and Constant Types

5 bytes removed, 18:56, 10 July 2007
Char Variable Type
The Visual Basic Boolean variable type holds a value of ''true'' or ''false''. Internally these are actually stored as the numbers 1 and 0 representing ''true'' and ''false'' respectively. Boolean values are used in conditional statements to decide whether particular parts of Visual Basic code should be executed or not (see [[Visual Basic Flow Control]] for more details) on conditional statements.
== Char 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.

Navigation menu