\item Most directives fit on one line. If needed however, two backslashes (i.e. \verb+\\+) at the end of a line indicate that the directive is continued on the next line.
\item Most directives fit on one line. If needed however, two backslashes (\textit{i.e.}\verb+\\+) at the end of a line indicate that the directive is continued on the next line.
\item Directives are not terminated with a semicolon
\end{itemize}
\end{frame}
...
...
@@ -142,9 +142,9 @@
\begin{itemize}
\item The macro processor can handle values of 5 different types:
\begin{enumerate}
\item boolean
\item real
\item string
\item boolean (logical value, true or false)
\item real (double precision floating point number)
\item string (of characters)
\item tuple
\item array
\end{enumerate}
...
...
@@ -163,7 +163,7 @@
\begin{frame}[fragile=singleslide]
\frametitle{Macro-expressions (1/8)}
\begin{itemize}
\item Macro-expressions are constructed using literals (i.e.\fixed values) of the 5 basic types
\item Macro-expressions are constructed using literals (\textit{i.e.} fixed values) of the 5 basic types
described above, macro-variables, standard operators, function calls and comprehensions.
\item Macro-expressions can be used in two places:
\begin{itemize}
...
...
@@ -180,7 +180,12 @@
\begin{block}{Operators on booleans}
\begin{itemize}
\item comparison operators: \texttt{== !=}
\item logical operators: \texttt{\&\& || !}
\item logical operators:
\begin{itemize}
\item conjunction (“and”): \texttt{\&\&}
\item disjunction (“or”): \texttt{||}
\item negation (“not”): \texttt{!}
\end{itemize}
\end{itemize}
\end{block}
\end{frame}
...
...
@@ -194,7 +199,7 @@
\item logical operators: \verb+&& || !+
\item range with unit increment: \texttt{1:4} is equivalent to
real array \texttt{[1, 2, 3, 4]}. (NB: \texttt{[1:4]} is equivalent to an
array containing an array of reals, i.e. \texttt{[[1, 2, 3, 4]]})
array containing an array of reals, \textit{i.e.}\texttt{[[1, 2, 3, 4]]})
\item range with user-defined increment: \texttt{4:-1.1:-1} is equivalent to real array \texttt{[4, 2.9, 1.8, 0.7, -0.4]}.