aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/22.selectors.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-17 00:14:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-17 00:14:27 +0000
commit9c5ec6b643268469a3396b86506d24fbf8e0e8ae (patch)
tree37aa31a85a8a2b8a0e3c9f845c34e942bceb922c /doc/tutorials/intro/22.selectors.pd
parenta9944916b020ce60fde258365f98981a690c727c (diff)
an attempt to smooth out the order, let's hope CVS doesn't choke on all the adds and removes
svn path=/trunk/; revision=8607
Diffstat (limited to 'doc/tutorials/intro/22.selectors.pd')
-rw-r--r--doc/tutorials/intro/22.selectors.pd31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/tutorials/intro/22.selectors.pd b/doc/tutorials/intro/22.selectors.pd
new file mode 100644
index 00000000..4eacd33d
--- /dev/null
+++ b/doc/tutorials/intro/22.selectors.pd
@@ -0,0 +1,31 @@
+#N canvas 10 40 620 460 12;
+#X obj 8 -33 cnv 15 400 40 empty empty selectors 20 12 0 24 -228992
+-66577 0;
+#N canvas 10 40 620 460 object 0;
+#X obj 79 36 inlet;
+#X obj 86 270 outlet;
+#X obj 308 267 outlet;
+#X obj 71 131 route output-left output-right;
+#X connect 0 0 3 0;
+#X connect 3 0 1 0;
+#X connect 3 1 2 0;
+#X restore 51 224 pd object;
+#X floatatom 51 277 5 0 0 0 - - -;
+#X floatatom 136 277 5 0 0 0 - - -;
+#X msg 83 178 output-right 309;
+#X msg 50 128 output-left 8675;
+#X text 9 24 Every message has a selector. The selector is the first
+element in the message. It tells the object which receives that message
+what to do with it. A selector is basically like a command or a function.
+;
+#X text 22 319 Here's the technical definition:;
+#X text 220 129 <-- "output-left" is the selector;
+#X text 250 179 <-- "output-right" is the selector;
+#X text 22 350 The selector is a symbolic atom \, which is a non-numeric
+string with no white space \, semicolons \, or commas. In the case
+of messages whose first element is a numeric atom \, the "float" selector
+is implied.;
+#X connect 1 0 2 0;
+#X connect 1 1 3 0;
+#X connect 4 0 1 0;
+#X connect 5 0 1 0;