diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2004-09-20 17:22:51 +0000 |
---|---|---|
committer | Tim Blechmann <timblech@users.sourceforge.net> | 2004-09-20 17:22:51 +0000 |
commit | 70538417927b09af1ae85d67573d054a0acb5b23 (patch) | |
tree | f0f7f573e9d6ed0e0c00a61206a11414051577b2 | |
parent | 335ee67f7313c76457f8d28cd7c8938fbcd14a10 (diff) |
help files covering values and sends
svn path=/trunk/externals/k_cext/; revision=2051
-rw-r--r-- | help-send2.pd | 18 | ||||
-rw-r--r-- | help-value.pd | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/help-send2.pd b/help-send2.pd new file mode 100644 index 0000000..7d8cae7 --- /dev/null +++ b/help-send2.pd @@ -0,0 +1,18 @@ +#N canvas 427 167 481 300 10; +#X obj 8 75 k_cext 1 0 \; SENDFLOAT(" \$0-receive" \, 42) \; SENDSYMBOL(" +\$0-receive" \, "hello_world") \;; +#X obj 8 53 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1 +; +#X obj 9 134 r \$0-receive; +#X obj 9 160 route float symbol; +#X floatatom 9 184 5 0 0 0 - - -; +#X symbolatom 78 205 15 0 0 0 - - -; +#X text 4 15 SENDFLOAT sends a float \, SENDSYMBOL sends a symbol: +; +#X text 4 233 leading spaces in the receive name will be dropped ... +this makes $N arguments usable (as long as no receive names with leading +spaces will be allowed); +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 1 5 0; diff --git a/help-value.pd b/help-value.pd new file mode 100644 index 0000000..ca7c2a4 --- /dev/null +++ b/help-value.pd @@ -0,0 +1,18 @@ +#N canvas 63 54 481 300 10; +#X obj 12 62 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 12 85 t b b; +#X obj 12 159 value \$0-count; +#X floatatom 12 183 5 0 0 0 - - -; +#X obj 47 108 k_cext 1 0 \; float f = VALUE(" \$0-count") \; SETVALUE(" +\$0-count" \, f+1) \;; +#X text 70 86 yet another counter; +#X text 8 17 VALUE returns the content of a value object \, SETVALUE +sets the content of a value object:; +#X text 4 218 leading spaces in the receive name will be dropped ... +this makes $N arguments usable (as long as no receive names with leading +spaces will be allowed); +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 1 1 4 0; +#X connect 2 0 3 0; |