Chapter 3. Introduction to Visual Basic Programming

Comment is free, but facts are sacred.

C. P. Scott

When faced with a decision, I always ask, “What would be the most fun?”

Peggy Walker

Equality, in a social sense, may be divided into that of condition and that of rights.

James Fenimore Cooper

Objectives

In this chapter you will learn:

  • To write simple Visual Basic programs using code rather than visual programming.

  • To write statements that input data from the keyboard and output data to the screen.

  • To declare and use data of various types.

  • To store and retrieve data from memory.

  • To use arithmetic operators to perform calculations.

  • To use the precedence of arithmetic operators to determine the order in which operators are applied. ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.