I want to define an environment to hide text, with warning about it before and after in the pdf-output. What is wrong with the following definition?
\newenvironment{foldit}
{NB! NB! FOLDED TEXT BELOW\\ NB! NB! FOLDED TEXT BELOW\\ \iffalse}
{\fi ~~\\ NB! NB! FOLDEDTEXTABOVE \\ NB! NB! FOLDEDTEXTABOVE}
When I try to enclose some texts with \begin{foldit} .... \end{foldit}
, I get the error message: Incomplete \iffalse; all text was ignored after line 105.