Commit Graph

3 Commits

Author SHA1 Message Date
Xavier Delaruelle
3f4d6f790e Use unsigned integer test result as boolean value
Simplify code to directly use unsigned integer value as boolean value in
conditional tests (0 means false, other numbers mean true).
2023-10-02 21:43:54 +02:00
Xavier Delaruelle
e072167ce3 doc: modernize modulefile code examples
Modernize and simplify modulefile code examples in documentation:

* Follow coding convention defined for the project
* Use simple "#%Module" file signature, no "1.0" suffix needed
2023-09-02 09:22:49 +02:00
Tom Payerle
0b6f21481c doc: Adding cookbook page "tips-for-code-reuse" 2019-09-17 08:01:27 +02:00