Abstract
In most programming languages when we want to represent a piece of data within an application we need to decide what type it is. For example, the number of people working in a company is likely to be a whole number, that is an integer; the balance of a bank account is represent by a variable of a currency type, and so on. Visual Basic is one of the few languages which allow you to use variables without first declaring what type they are. Visual Basic does offer you the option of declaring the type of variables before using them, and there are some important benefits to doing this. The type of a variable determines what operations you can carry out on it, for example you cannot multiply a text string.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag London Limited
About this chapter
Cite this chapter
Cowell, J. (2000). Variables and Operators. In: Essential Visual Basic 6.0 fast. Essential Series. Springer, London. https://doi.org/10.1007/978-1-4471-3417-6_6
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3417-6_6
Publisher Name: Springer, London
Print ISBN: 978-1-85233-207-5
Online ISBN: 978-1-4471-3417-6
eBook Packages: Springer Book Archive