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 Apr 21, 2023
1 parent d6f48db commit e18a098
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion chapters/statements.tex
Expand Up @@ -304,7 +304,6 @@ \subsection{While-Statement}\label{while-statement}
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.
In order to ensure that there are no events it is recommended to use explicit \lstinline!noEvent! in \lstinline!while!-statements in models.
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 e18a098

Please sign in to comment.