Skip to content

Commit

Permalink
Simplify description of input/output for functions.
Browse files Browse the repository at this point in the history
Closes #2730
  • Loading branch information
HansOlsson committed Dec 16, 2020
1 parent 46bd6d7 commit bae1405
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ \section{Function as a Specialized Class}\label{function-as-a-specialized-class}
Modelica \lstinline!class!:
\begin{itemize}
\item
Each input formal parameter of the function must be prefixed by \lstinline!input!, and each result formal parameter by \lstinline!output!.
All public variables are formal parameters.
Only input and output formal parameters are allowed in the function's public variable section.
\item
Input formal parameters are read-only after being bound to the actual
arguments or default values, i.e., they shall not be assigned values in
Expand Down

0 comments on commit bae1405

Please sign in to comment.