From c3c6189dd87114f6cc6e76e22860d4b2044c5a91 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 14 Apr 2006 14:53:42 +0000 Subject: lots of formatting and minor tweaks svn path=/trunk/; revision=4907 --- doc/tutorials/intro/18.selectors.pd | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'doc/tutorials/intro/18.selectors.pd') diff --git a/doc/tutorials/intro/18.selectors.pd b/doc/tutorials/intro/18.selectors.pd index 363971df..6a589ef4 100644 --- a/doc/tutorials/intro/18.selectors.pd +++ b/doc/tutorials/intro/18.selectors.pd @@ -1,7 +1,7 @@ -#N canvas 231 101 638 461 12; +#N canvas 10 40 624 464 12; #X obj 8 -33 cnv 15 400 40 empty empty selectors 20 12 0 24 -228992 -66577 0; -#N canvas 328 337 454 304 object 0; +#N canvas 10 40 620 460 object 0; #X obj 79 36 inlet; #X obj 86 270 outlet; #X obj 308 267 outlet; @@ -9,20 +9,22 @@ #X connect 0 0 3 0; #X connect 3 0 1 0; #X connect 3 1 2 0; -#X restore 157 211 pd object; -#X floatatom 157 264 5 0 0 0 - - -; -#X floatatom 242 264 5 0 0 0 - - -; -#X msg 189 165 output-right 309; -#X msg 156 115 output-left 8675; +#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 23 304 Here's the technical definition:; -#X text 23 335 The selector is a symbolic atom \, which is a non-numeric +#X text 22 319 Here's the technical definition:; +#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 selector is implied.; +#X text 220 129 <-- "output-left" is the selector; +#X text 250 179 <-- "output-right" is the selector; #X connect 1 0 2 0; #X connect 1 1 3 0; #X connect 4 0 1 0; -- cgit v1.2.1