diff --git a/doc/macroprocessor/macroprocessor.tex b/doc/macroprocessor/macroprocessor.tex index 763804411c3c57cfd89502a4792b4c596a761336..787e3d68a7467634660701608958c5087c387c6d 100644 --- a/doc/macroprocessor/macroprocessor.tex +++ b/doc/macroprocessor/macroprocessor.tex @@ -149,6 +149,15 @@ \item array \item function \end{itemize} +\item Variables/literals of the types listed above can be cast to other types + \begin{itemize} + \item \texttt{(bool) 3.9} $\rightarrow$ \texttt{true} + \item \texttt{(int) 3.9} $\rightarrow$ \texttt{3} + \item \texttt{(double) ``3.9''} $\rightarrow$ \texttt{3.9} + \item \texttt{(array) 3.9} $\rightarrow$ \texttt{[3.9]} + \item \texttt{(double) [3.9]} $\rightarrow$ \texttt{3.9} + \item \texttt{(double) [3.9, 3]} $\rightarrow$ \texttt{error} + \end{itemize} \end{itemize} \end{frame}