aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-17 12:20:20 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-17 12:20:20 +0000
commitc010b1b1918cb49d2b79c6e728b54a06b4098f02 (patch)
treee43e68b17278dd30cb62ea14669495e364faec7c /doc/tutorials
parent48fca58ed29eccc55a5245a7c4dc42dff1f1264d (diff)
clarified definition and split out the implied selector description to its own page
svn path=/trunk/; revision=8621
Diffstat (limited to 'doc/tutorials')
-rw-r--r--doc/tutorials/intro/22.selectors.pd51
1 files changed, 32 insertions, 19 deletions
diff --git a/doc/tutorials/intro/22.selectors.pd b/doc/tutorials/intro/22.selectors.pd
index 4eacd33d..8c58ffca 100644
--- a/doc/tutorials/intro/22.selectors.pd
+++ b/doc/tutorials/intro/22.selectors.pd
@@ -1,5 +1,9 @@
-#N canvas 10 40 620 460 12;
-#X obj 8 -33 cnv 15 400 40 empty empty selectors 20 12 0 24 -228992
+#N canvas 10 40 628 468 12;
+#X obj 311 314 cnv 15 300 60 empty empty not_selectors 5 12 0 14 -261234
+-66577 0;
+#X obj 6 314 cnv 15 300 60 empty empty possible_selectors 5 12 0 14
+-204786 -66577 0;
+#X obj 8 -29 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;
@@ -9,23 +13,32 @@
#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
+#X restore 51 201 pd object;
+#X floatatom 51 244 5 0 0 0 - - -;
+#X floatatom 136 244 5 0 0 0 - - -;
+#X msg 83 155 output-right 309;
+#X msg 50 105 output-left 8675;
+#X text 9 28 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;
+#X text 220 106 <-- "output-left" is the selector;
+#X text 250 156 <-- "output-right" is the selector;
+#X text 205 377 For more info:;
+#X obj 223 394 pddp/pddplink http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s3.1
+;
+#X text 19 348 symbol;
+#X text 179 320 list;
+#X text 159 349 my23;
+#X text 217 338 output-left;
+#X text 340 338 2523;
+#X text 466 320 -134.4;
+#X text 536 347 is \; next;
+#X text 8 272 The selector has a specific format. It needs to be a
+symbolic atom with no spaces \, semicolons \, or commas.;
+#X text 91 337 fl--^;
+#X text 403 351 my \, 23;
+#X connect 3 0 4 0;
+#X connect 3 1 5 0;
+#X connect 6 0 3 0;
+#X connect 7 0 3 0;