<< Click to Display Table of Contents >> Navigation: AutoTRAX PCB Design Express (DEX) > Appendix > Scripting > Python > Control Statement > The While Statement |
The while statement executes statements until the associated expression evaluates to false.
i = 10
while i > 0:
print i
i = i-1