summaryrefslogtreecommitdiff
path: root/rulesquotify.tex
diff options
context:
space:
mode:
authorW-M-T2016-04-29 15:17:35 +0200
committerW-M-T2016-04-29 15:17:35 +0200
commit2c3fff3da8ed7001ffce87393aae7bfb6b501118 (patch)
tree29642721d1ca1327467dea64a7664ffa43aa2d2c /rulesquotify.tex
parentRemoved weird extra spaces (diff)
parenttemplate cat quotify, first version push (diff)
Merge branch 'master' of https://github.com/W-M-T/Berekeningsmodellen-IBC025---voorjaar-2016
Diffstat (limited to 'rulesquotify.tex')
-rw-r--r--rulesquotify.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/rulesquotify.tex b/rulesquotify.tex
new file mode 100644
index 0000000..50acc22
--- /dev/null
+++ b/rulesquotify.tex
@@ -0,0 +1,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:
+