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


9.7 #pass

Syntax:

#pass

The #pass directive is identical to Python pass statement: it does nothing. It can be used when a statement is required syntactically but the program requires no action.

The following example does nothing if only $A is true

#if $A and $B
   do something
#elif $A
  #pass
#elif $B
  do something
#else
  do something
#end if

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