summaryrefslogtreecommitdiff
path: root/rulesquotify.tex
diff options
context:
space:
mode:
authorCamil Staps2016-04-29 15:45:33 +0200
committerCamil Staps2016-04-29 15:45:33 +0200
commit55c232be2c9e7b527cd0d78e16c2ad621b24582e (patch)
tree27db7ab1a7ae1fffd244b3b6dab2af6989a8a159 /rulesquotify.tex
parentWitregel verwijderd (diff)
parentstructure (diff)
Merge branch 'master' of 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:
+