summaryrefslogtreecommitdiffstats
path: root/Help/command/endwhile.rst
blob: 5ef585bdc03eaa0b112557638e6f725ff12d3675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
endwhile
--------

Ends a list of commands in a while block.

.. code-block:: cmake

  endwhile([<condition>])

See the :command:`while` command.

The optional ``<condition>`` argument is supported for backward compatibility
only. If used it must be a verbatim repeat of the argument of the opening
``while`` clause.