Skip to content

Commit

Permalink
Use \lstinline for 'size'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 27, 2020
1 parent bdc5223 commit 86a6f1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions chapters/functions.tex
Expand Up @@ -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
Expand Down

0 comments on commit 86a6f1f

Please sign in to comment.