Commit 14293822 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'update_foreach_range_doc'

7771657c

 Help: Better explain that foreach(RANGE ) is inclusive.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1716
parents ed91b81c 7771657c
Pipeline #89772 passed with stage
in 0 seconds
......@@ -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).
::
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment