Additional NewtonScript Features

Loops

NewtonScript provides a number of different loop constructs. You've already seen the foreach loop. The other loop constructs are while, repeat, loop, for, and a collect version of for.

Break
while
repeat
loop
for
for/foreach collect

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

Last modified: 1 DEC 1996