Skip to content

Commit

Permalink
Update chapters/statements.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed May 12, 2023
1 parent bd92bef commit f2fac66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chapters/statements.tex
Expand Up @@ -305,7 +305,8 @@ \subsection{While-Statement}\label{while-statement}
\item
If the \lstinline!expression! of the \lstinline!while!-statement is true, the entire body of the \lstinline!while!-statement is executed (except if a \lstinline!break!-statement, see \cref{break-statement}, or a \lstinline!return!-statement, see \cref{return-statements}, is executed), and then execution proceeds at step~\ref{while-execution-top}.
\end{enumerate}
Neither the \lstinline!expression! nor any expression in the body shall generate events.

Event-generating expressions are neither allowed in the \lstinline!expression! nor in the loop body statements.
A deprecated feature is that there is an implicit \lstinline!noEvent! for such \lstinline!while!-statement.

\subsection{Break-Statement}\label{break-statement}
Expand Down

0 comments on commit f2fac66

Please sign in to comment.