diff --git a/chapters/functions.tex b/chapters/functions.tex index 9d1af9f42..0f5c6ecc9 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -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 the - keyword input, and each result formal parameter by the keyword output. + 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. \item Input formal parameters are read-only after being bound to the actual