I have defined an environment as
\newenvironment{question}[1]
{Question (#1 points):}{}
I am using it as
\begin{question}[10]
...
\end{question}
I get the following error:
Missing number, treated as zero
\begin{question}[
10]