aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/initbang-help-ex2-initbang.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-01 18:22:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-01 18:22:38 +0000
commita0bcda9d0246b7046a10c2ab51d736fc84574803 (patch)
treebae93c96e9e9cc2bc46c4d6f1efec57ac5ef15f4 /doc/pddp/initbang-help-ex2-initbang.pd
parent2162f9ad4274736c2feaa4a16cb71940d9e06458 (diff)
fix examples, point out error message, and expand on that initbang only gets sent in abstractions i.e. embedded patches
svn path=/trunk/; revision=16801
Diffstat (limited to 'doc/pddp/initbang-help-ex2-initbang.pd')
-rw-r--r--doc/pddp/initbang-help-ex2-initbang.pd30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/pddp/initbang-help-ex2-initbang.pd b/doc/pddp/initbang-help-ex2-initbang.pd
index 6fb41643..93bb2c47 100644
--- a/doc/pddp/initbang-help-ex2-initbang.pd
+++ b/doc/pddp/initbang-help-ex2-initbang.pd
@@ -1,15 +1,15 @@
-#N canvas 81 215 428 300 10;
-#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
-14 -204280 -1 0;
-#X text 7 1 [initbang] Abstraction Example No 2;
-#X obj 157 191 s pd-initbang-help-ex2-initbang.pd;
-#X obj 157 145 initbang;
-#X text 74 109 <- dynamically created [outlet];
-#X msg 157 168 obj 20 110 outlet;
-#X text 19 36 This abstraction just shows a simple example of how [initbang]
-works. Since [initbang] is used below (instead of [loadbang]) \, the
-outlet gets created before the parent patch initializes. This ensures
-that connections get created properly when the parent patch is opened.
-;
-#X connect 3 0 5 0;
-#X connect 5 0 2 0;
+#N canvas 87 221 428 300 10;
+#X obj 1 9 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
+14 -204280 -1 0;
+#X text 8 10 [initbang] Abstraction Example No 2;
+#X obj 126 166 initbang;
+#X text 64 129 <- dynamically created [outlet];
+#X text 20 45 This abstraction just shows a simple example of how [initbang]
+works. Since [initbang] is used below (instead of [loadbang]) \, the
+outlet gets created before the parent patch initializes. This ensures
+that connections get created properly when the parent patch is opened.
+;
+#X msg 126 189 obj 20 130 outlet;
+#X obj 126 212 send pd-initbang-help-ex2-initbang.pd;
+#X connect 2 0 5 0;
+#X connect 5 0 6 0;