diff options
author | Brad King <brad.king@kitware.com> | 2018-01-30 13:46:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-01-30 13:48:32 (GMT) |
commit | 142938225e572d846c956f9b1f54d24a960379ab (patch) | |
tree | f2ff704f84fb400664359d4f1361b55e75b2d5cd /Help | |
parent | ed91b81c0d75e7dc84f7c1dc53c98732d56a0879 (diff) | |
parent | 7771657cd0e23364b55be4ad343f9291bb10ea98 (diff) | |
download | CMake-142938225e572d846c956f9b1f54d24a960379ab.zip CMake-142938225e572d846c956f9b1f54d24a960379ab.tar.gz CMake-142938225e572d846c956f9b1f54d24a960379ab.tar.bz2 |
Merge topic 'update_foreach_range_doc'
7771657c Help: Better explain that foreach(RANGE ) is inclusive.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1716
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/foreach.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/command/foreach.rst b/Help/command/foreach.rst index c0f3679..106ba73 100644 --- a/Help/command/foreach.rst +++ b/Help/command/foreach.rst @@ -26,14 +26,14 @@ list. Foreach can also iterate over a generated range of numbers. There are three types of this iteration: -* When specifying single number, the range will have elements 0 to - "total". +* When specifying single number, the range will have elements [0, ... to + "total"] (inclusive). * When specifying two numbers, the range will have elements from the - first number to the second number. + first number to the second number (inclusive). * The third optional number is the increment used to iterate from the - first number to the second number. + first number to the second number (inclusive). :: |