The While Statement

<< Click to Display Table of Contents >>

Navigation:  Designing a PCB with the DEX PCB Designer > 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