Fypp has the #:if define() instead #ifdef from cpp. There is any command for change #ifndef from cpp to fypp?
Sure, as Fypp uses Python expressions, you can negate it the same way as in Python:
#:if not defined('VAR')
#! Code for the case, when it is undefined
#:else
#! Code for the case, when it is defined
#:endif
1 Like
Thanks Aradi. It works!!!