<P> (Note that "there's more than one way to do it" is a Perl programming motto .) </P> <P> The construct corresponding to most other languages' for - loop is called Do in Mathematica </P> <P> Mathematica also has a For construct that mimics the for - loop of C - like languages </P> <P> Note that an empty loop (i.e., one with no commands between do and done) is a syntax error . If the above loops contained only comments, execution would result in the message "syntax error near unexpected token' done' ". </P>

What does it mean for a loop control variable to go out of bounds