Adding comments to parts of expressions

It is possible to add comments to parts of mathematical expressions. In this case, the comments must start with # and extend until the end of the line of the file or the expression.

Example
^if(
    $age>=$MINIMUM_AGE  # not too young
    
&& $age<=$MAXIMUM_AGE  # and not too old
){
    Suitable age
}

Important notice: we do recommend you to add comments to parts of complex mathematical expressions. You yourself may find it difficult to understand in a while.



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 01.04.2004