Examples

Printing All Names Beginning with "K"

In the following three examples, we show you how to print out a particular set of names. Each subsequent example offers some refinements that make it more efficient than its predecessor. A QuickTime movie of this example is available.

Slow Way
Faster Way
Fastest Way

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

Last modified: 1 DEC 1996