Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 19
Advertising
![background image](/manuals/580132/19/background.png)
Publication 2098-PM001E-EN-P — July 2002
Programming Motion Control in C
1-7
endpoint) the loop ends, and execution continues at the statement
that follows the loop.
Statements contained inside the braces of a while loop, and in many
other cases yet to come, should always be indented so you can see at
a glance which statements are inside the loop. The indentation
emphasizes the logical structure of the program. Although the
Ultraware C compiler does not care about how a program looks,
proper indentation and spacing are critical in making a program easy
to read.
Advertising