What Is an Array and How Does It Work?

Back in Chapter 9, "Strings, Numbers and Variables," we discussed different data types, including variables. Variables can hold one piece of data or another data type, including another variable. Like variables, arrays can hold any type of data, including strings, integers, and Booleans. They can also hold other data types, including variables and other arrays (called nested arrays), which we will discuss later in this chapter.

In this chapter, we will go over what an array is, how to create one, and how to retrieve, manipulate, and delete data from arrays with an applied example at the end.

So let's jump right in and see what makes up an array.

Macromedia Flash Professional 8 Unleashed
Macromedia Flash Professional 8 Unleashed
ISBN: 0672327619
EAN: 2147483647
Year: 2005
Pages: 319

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net