Much of the time, you just want to assign a single value to a
variable you've declared. A variable containing a single value is a
scalar variable. Other times, it's convenient to assign more than
one related value to a single variable. Then you can create a
variable that can contain a series of values. This is called an array
variable. Array variables are declared much the same way as scalar
variables. The difference is that a declaration of an array variable
uses parentheses following the variable name
No comments:
Post a Comment