QBasic: Data Types

December 13, 2009

Every variable used in the program has data type. A variable is created the first time it is referenced in your code, such as when you first set a value to it. As stated before, there are five types of variables. Each one has its own associated suffix to identify its type. It is a wise programmer who learns to use the appropriate data-type for the purpose they choose their variable, and to select the maximum storage (number of bytes) required.
Read the rest of this entry »