aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/initbang-help-ex1-loadbang.pd
blob: a8b251c6b4307d49361db01e8ca7b18c864ffeba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#N canvas 104 284 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 1;
#X msg 157 203 obj 20 50 outlet;
#X obj 157 226 s pd-initbang-help-ex1-loadbang.pd;
#X obj 157 180 loadbang;
#X text 67 48 This abstraction uses [loadbang] below to create the
[outlet] seen at left. The [loadbang] object only gets triggered after
all objects and connections in the parent patch have been created.
;
#X text 67 98 This poses a problem if you want to save the patch with
a connection from this abstraction's outlet in the parent patch to
the [print from_loadbang] object below it. The next time you open the
patch \, Pd will attempt to connect those objects BEFORE the [outlet]
gets created \, and you will get an error.;
#X connect 2 0 3 0;
#X connect 4 0 2 0;