summaryrefslogtreecommitdiffstats
path: root/Help/command/if.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/if.rst')
-rw-r--r--Help/command/if.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst
index 6ff8852..b4b4897 100644
--- a/Help/command/if.rst
+++ b/Help/command/if.rst
@@ -61,7 +61,9 @@ Basic Expressions
``if(<variable|string>)``
True if given a variable that is defined to a value that is not a false
- constant. False otherwise. (Note macro arguments are not variables.)
+ constant. False otherwise. Note that macro arguments are not variables.
+ Environment variables also cannot be tested this way, e.g.
+ ``if(ENV{some_var})`` will always evaluate to false.
Logic Operators
"""""""""""""""