• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using Arrays

Arrays are lists of variables. Each “line” of the list can contain a single variable, the value of which can be anything (string, number, object, another array, and so on). After you have created an array, you reference a line of the array by giving the name of your array and then the line number, which is actually called the index and always starts at 0, inside square brackets like this:

					MyArray[2];
				


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint