Soups

Multislot Indexes

Multislot soup indexes can also be created. These are indexes that are sorted based on more than one slot. The first slot is used as the primary key. The next slot (secondary key) is used to order the entries whose primary keys are equal.

For example, you can have a multislot index on lastName and firstName. The entries are ordered on lastName. Entries whose lastName matched are subordered by firstName. A single-slot index on lastName orders all entries by lastName. But, with a single-slot index, the suborder of entries whose lastName match is unspecified.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996