Programing in Visual Basic 2010 59
Programing in Visual Basic 2010 59
Variables and Constants A Place for Everything and Everything in Its Place
Jefferson
5.95
24
bytNumCans
Figure 2.1
75
shoLength
decPrice
strLastName
Storage Containers
of storing items. Each one has a name, and each stores only one item. We can
see whats in each container maybe a number or some text. The programs we
write will create the containers, put values in them, and change whats stored in
each container. They could look like Figure 2.1.
VB Quiz 01
Larry Wall once said, Dont tell me there isnt one bit of difference between null and
space because thats exactly how much difference there is. Use the ASCII chart to
explain why hes right.
Computer memory has been compared to cups and jars. What else could be used
in an analogy for computer memory?