More specifically, I would like to write
\begin{algorithm}
\dontprintsemicolon
\If{x \tcp*{ bla } }
{
}
\end{algorithm}
but that prints:
if x; // bla
then
which looks very ugly.
I have also tried
\If{x} \tcp*{ bla }
but that gives me an error (Argument of \algocf@tcp has an extra }).
Any ideas or suggestions will be highly appreciated.
Best regards,
Gabriel.