If you use Cheetah, please support the project and register by clicking here:


9.3 #while ... #end while

Syntax:

#while EXPR
#end while

#while is the same as Python's while statement. It may be followed by any boolean expression:

#while $someCondition('arg1', $arg2)
The condition is true.
#end while

Be careful not to create an infinite loop. #while 1 will loop until the computer runs out of memory.

If you use Cheetah, please support the project and register by clicking here: