Choosing Data Type

The first question that needs answering is why a data type is important. Under the hood, data types are important because different data types are stored in different amounts of memory. As a VBScript programmer, you don’t need to be concerned with this sort of detail, but it’s useful to know that one data type might take more or less memory than another, which is one of the reason Visual Basic developers will choose one data type over another – the less memory taken up, the better. Choosing a specific data type is also important to a Visual Basic developer because it helps make the program easier to understand. When you know what data type a variable or parameter is, you also know the limitations on what kind of data is meant to be stored in that variable.

First
Next