From 35994ca3a4ef6a136a16cac63b4f68540d0434e1 Mon Sep 17 00:00:00 2001 From: Frank Barknecht Date: Fri, 23 Apr 2004 16:22:42 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r1630, which included commits to RCS files with non-trunk default branches. svn path=/trunk/abstractions/rradical/; revision=1631 --- memento/tutorial/2-tut.pd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 memento/tutorial/2-tut.pd (limited to 'memento/tutorial/2-tut.pd') diff --git a/memento/tutorial/2-tut.pd b/memento/tutorial/2-tut.pd new file mode 100644 index 0000000..fe56d09 --- /dev/null +++ b/memento/tutorial/2-tut.pd @@ -0,0 +1,22 @@ +#N canvas 322 395 557 382 10; +#X obj 9 7 cnv 15 100 20 empty empty The_Originator 20 12 1 14 -262144 +-66577 0; +#X obj 378 34 s part; +#X text 406 8 click here \, to go on; +#X msg 378 10 3; +#X text 41 68 The originator object wraps access to the data stored +in memory. The object takes two creating argument: a symbol and a float. +; +#X obj 141 128 originator TheState 10; +#X text 45 160 The first \, symbolic argument will be the name of the +state \, that is managed. The second \, float argument is used for +communication with the commun objects. Normally it should be unique +to a patch \, because then you get only local communcation inside a +patch's borders. To make it unique use \$0:; +#X obj 139 256 originator AnotherState \$0; +#X text 48 282 If you intend to use your patch several times \, it's +possible to use \$1 as argument to originator \, so that the surrounding +patch will specify the state name. So in the end \, you'll probably +always use this:; +#X obj 139 353 originator \$1 \$0; +#X connect 3 0 1 0; -- cgit v1.2.1