December 2000
Intermediate to advanced
816 pages
16h 57m
English
Sequence types all share the same access model: ordered set with sequentially-indexed offsets to get to each element. Multiple elements may be achieved by using the slice operators which we will explore in this chapter. The numbering scheme used starts from zero (0) and ends with one less the length of the sequence—the reason for this is because we began at 0. Figure 6-1 illustrates how sequence items are stored.
A list of all the operators applicable to all sequence types is given in Table6.1. The operators appear in hierarchical order from highest ...
Read now
Unlock full access