summaryrefslogtreecommitdiff
path: root/rulesquotify.tex
blob: 50acc229bf3b81545abf71d327dc4e83f30f8ead (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
% vim: set spelllang=nl:
\subsection{\texttt{Quotify}}
\label{sec:rules:quotify}

\begin{quote}
q - "Quotifies" the string on top of the stack,      so that it can be placed
    into a Smurf program as a literal string, eg
    Arthur "two-sheds" Jackson
    becomes
    "Arthur $\backslash$ "two-sheds $\backslash$ " Jackson"
\end{quote}


Er worden dus quotes om de string heen gezet. Als er in de oorspronkelijke string quotes stonden dan wordt voor iedere van deze quotes een "$\backslash$" geplaats. 

Dit geeft de volgende regel: