From 86a6f1f3109ab32bea0d5aff3bbfab2395d7d7b7 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Fri, 27 Nov 2020 10:46:15 +0100 Subject: [PATCH] Use \lstinline for 'size' --- chapters/functions.tex | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chapters/functions.tex b/chapters/functions.tex index 66bc3848f..e2612b6d0 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -1683,10 +1683,8 @@ \section{External Function Interface}\label{external-function-interface} The \lstinline[language=grammar]!external-function-call! specification allows functions whose prototypes do not match the default assumptions as defined below to be called. It also gives the name used to call the external function. If the external call is not given explicitly, this name is assumed to be the same as the Modelica name. -The only permissible kinds of expressions in the argument list are -component references, scalar constants, and the function size applied to -an array and a constant dimension number. The annotations are used to -pass additional information to the compiler when necessary. +The only permissible kinds of expressions in the argument list are component references, scalar constants, and the function \lstinline!size! applied to an array and a constant dimension number. +The annotations are used to pass additional information to the compiler when necessary. A component reference to a component that is part of an input or output is treated the same way as a top-level input or output in the external