Q:

Change while to repeat ... until

If I have this script:
\documentclass[conference]{IEEEtran}
\usepackage{algorithmicx}
\usepackage{algorithm}
\usepackage{algpseudocode}

\begin{algorithmic}
  \While{$x = y$}
    \State Something
  \EndWhile
\end{algorithmic}

I want to change while with repeat .. until. I tried \Repeat .. \Until but it doesn't work. How can I do that? Thank you

A:

This is a snippet from the package documentation at
http://tug.ctan.org/macros/latex/contrib/algorithmicx/algorithmicx.pdf (page 6).

