Skip to content

Commit

Permalink
Break out presentation of item list from its first item
Browse files Browse the repository at this point in the history
(This problem was present already in 3.4.)
  • Loading branch information
henrikt-ma committed Feb 16, 2021
1 parent bd035cc commit 6c8de2e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions chapters/functions.tex
Expand Up @@ -761,8 +761,7 @@ \subsection{Flexible Array Sizes and Resizing of Arrays in Functions}\label{flex
functions is also briefly described in \cref{function-as-a-specialized-class}.
\end{nonnormative}

A dimension size not specified with colon(\lstinline!:!) for a non-input array
component of a function must be given by the inputs or be constant.
A dimension size not specified with colon (\lstinline!:!) for a non-input array component of a function must be given by the inputs or be constant.

\begin{example}
\begin{lstlisting}[language=modelica]
Expand All @@ -775,16 +774,12 @@ \subsection{Flexible Array Sizes and Resizing of Arrays in Functions}\label{flex
\end{lstlisting}
\end{example}

A non-input array component declared in a function with a dimension size specified by colon (\lstinline!:!) and no binding equation, can change size according to these special rules:
\begin{itemize}
\item
A non-input array component declared in a function with a dimension
size specified by colon(:) and no binding equation, can change
size according to these special rules:Prior to execution of the
function algorithm the dimension size is zero.
Prior to execution of the function algorithm the dimension size is zero.
\item
The entire array (without any subscripts) may be assigned with a
corresponding array with arbitrary dimension size (the array variable
is re-sized).
The entire array (without any subscripts) may be assigned with a corresponding array with arbitrary dimension size (the array variable is re-sized).
\end{itemize}

These rules also apply if the array component is an element of a record
Expand Down

0 comments on commit 6c8de2e

Please sign in to comment.