summaryrefslogtreecommitdiff
path: root/Help/variable/ENV.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/ENV.rst')
-rw-r--r--Help/variable/ENV.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Help/variable/ENV.rst b/Help/variable/ENV.rst
index 368152aeb..2b439342e 100644
--- a/Help/variable/ENV.rst
+++ b/Help/variable/ENV.rst
@@ -1,7 +1,12 @@
ENV
---
-Access environment variables.
+Operator to read environment variables.
-Use the syntax ``$ENV{VAR}`` to read environment variable ``VAR``. See also
-the :command:`set` command to set ``ENV{VAR}``.
+Use the syntax ``$ENV{VAR}`` to read environment variable ``VAR``.
+
+To test whether an environment variable is defined, use the signature
+``if(DEFINED ENV{<name>})`` of the :command:`if` command.
+
+See the :command:`set` and :command:`unset` commands to see how to
+write or remove environment variables.