Skip to content

Commit

Permalink
And better line-break.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Aug 19, 2021
1 parent c15276e commit 3745105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/packages.tex
Expand Up @@ -177,8 +177,8 @@ \subsection{Example of Searching MODELICAPATH}\label{example-of-searching-modeli
\end{figure}

Assume that we want to access the package \lstinline!MyLib.Pack2! in \cref{fig:roots} above, e.g.\ through an \lstinline!import!-clause \lstinline!import MyLib.Pack2;!.
During lookup we first try to find a package \lstinline!MyLib! corresponding to the first part of the name in the import-statement. It is not found in the top-level scope since it has not
previously been loaded into the environment.
During lookup we first try to find a package \lstinline!MyLib! corresponding to the first part of the name in the import-statement.
It is not found in the top-level scope since it has not previously been loaded into the environment.

Since the name was not found in the top-level scope the search continues in the directories in the \lstinline!MODELICAPATH! in the specified order. For the search to succeed,
there must be a subdirectory \filename{MyLib} or a file \filename{MyLib.mo} in one of the directories mentioned in the \lstinline!MODELICAPATH!. If there is no such
Expand Down

0 comments on commit 3745105

Please sign in to comment.