summaryrefslogtreecommitdiff
path: root/rulescat.tex
blob: d05e0e53ed643408fa19f66ade39cebec1f3b27e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% vim: set spelllang=nl:
\subsection{\texttt{Cat}}
\label{sec:rules:cat}

\begin{quote}
    + - concatenates the top two strings on the stack. The string pushed earlier
    appears earlier in the resulting string, eg
    "Zork" "mid" +
    would result in the string "Zorkmid" being placed on the stack.
\end{quote}

De twee strings die als laatste op de stack zijn gezet worden dus samen gevoegd en terug op de stack gezet.  

Dit geeft de volgende regel: