**CIGAL Reference Manual, Chapter 2 (Commands): WHILE** ===== WHILE -- Execute a conditional loop of commands ===== **usage: while(expression) {...}** The WHILE command is like the IF command in that the group of commands within the pair of brackets ('{' and '}') following the WHILE statement are executed only if the EXPRESSION results in a non-zero value. WHILE is different from IF, however, in that when the program reaches the '}' it jumps back to the WHILE statement. Use WHILE loops within macro or menu command file, or use it interactively. If you enter a WHILE command at the keyboard, the command line interpreter will ask you to enter all commands within the loop before the WHILE begins execution. **See Also:**\\ [[jvs:cigal:manual:chapter2:break|BREAK(2)]], [[jvs:cigal:manual:chapter2:if|IF(2)]], [[jvs:cigal:manual:chapter2:next|NEXT(2)]], [[jvs:cigal:manual:chapter2:repeat|REPEAT(2)]] [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter2|Commands List]], [[jvs:cigal:manual:help|Manual Help]]