| Applying science to business management |
  
Accessing List Elements
You can access particular list elements using two different
notations.
The notation list[index]
allows you to access elements using a zero-based index number.
For example, Data[0] is the first
element in the list named Data. Similarly, Data[4] is the fifth element.
Using the notation list#index
you can access elements using a one-based index number. For
example, Data#1 is the first
element and Data#5 is the fifth
element.
A more detailed description of lists can be found in the
chapter entitled Lists.
|