Skip to main content

Variables and Operators

  • Chapter
Essential Visual Basic 6.0 fast

Part of the book series: Essential Series ((ES))

  • 186 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics