aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/21.atomic_messages.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/21.atomic_messages.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/21.atomic_messages.pd')
-rw-r--r--doc/tutorials/intro/21.atomic_messages.pd24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/tutorials/intro/21.atomic_messages.pd b/doc/tutorials/intro/21.atomic_messages.pd
new file mode 100644
index 00000000..c7524b11
--- /dev/null
+++ b/doc/tutorials/intro/21.atomic_messages.pd
@@ -0,0 +1,24 @@
+#N canvas 10 40 620 460 12;
+#X obj 10 12 cnv 15 400 40 empty empty atomic_messages 20 12 0 24 -228992
+-66577 0;
+#X msg 69 191 symbol atom;
+#X msg 47 343 float 1.234;
+#X text 15 76 To send one piece of data to an object \, send an atomic
+message. There are atomic message to match each of the atom types.
+;
+#X symbolatom 61 233 10 0 0 0 - - -;
+#X msg 54 165 atom;
+#X text 172 232 <-- the symbol box expects a symbol message;
+#X text 106 165 <-- this gives an error (check the Pd window);
+#X text 196 190 <-- this works;
+#X text 14 134 When using symbolic atoms \, the symbol message is essential:
+;
+#X floatatom 74 410 5 0 0 0 - - -;
+#X msg 84 374 362;
+#X text 17 273 When using numeric atoms \, the float message is optional.
+This is because the float message is automatically implied when sending
+a numeric atom:;
+#X connect 1 0 4 0;
+#X connect 2 0 10 0;
+#X connect 5 0 4 0;
+#X connect 11 0 10 0;