From 5879bc9332a97d74274f79a1b9207928b3f2c11b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 29 Sep 2007 21:36:48 +0000 Subject: renamed help files to standard name and removed class_sethelpsymbol since it is unnecessary and gets in the way svn path=/trunk/externals/ekext/; revision=8774 --- list_sum/help-list_sum.pd | 41 ----------------------------------------- list_sum/list_sum-help.pd | 41 +++++++++++++++++++++++++++++++++++++++++ list_sum/list_sum.c | 2 +- 3 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 list_sum/help-list_sum.pd create mode 100644 list_sum/list_sum-help.pd (limited to 'list_sum') diff --git a/list_sum/help-list_sum.pd b/list_sum/help-list_sum.pd deleted file mode 100644 index 7259add..0000000 --- a/list_sum/help-list_sum.pd +++ /dev/null @@ -1,41 +0,0 @@ -#N canvas 0 0 707 528 10; -#X obj 84 255 list_sum; -#X floatatom 101 358 0 0 0 3 length - -; -#X floatatom 84 391 0 0 0 3 total - -; -#X msg 150 82 set 2 100; -#X msg 149 98 set 2 498; -#X msg 32 106 clear; -#X msg 149 121 set 5 777; -#X text 215 81 individual elements can be set; -#X text 206 286 list_sum; -#X text 205 327 Edward Kelly 2007; -#X msg 84 55 all 200.5 498 166.3 81.7 94.4; -#X text 84 36 all in the left inlet calculates the sum of its elements. -; -#X msg 173 145 3; -#X msg 173 162 9; -#X msg 211 162 4; -#X msg 211 179 8; -#X text 200 144 max length; -#X text 241 162 wrap value; -#X obj 300 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 331 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 206 301 calculate the sum of elements in a list \, wrapping -the list.; -#X connect 0 0 2 0; -#X connect 0 1 1 0; -#X connect 3 0 0 0; -#X connect 4 0 0 0; -#X connect 5 0 0 0; -#X connect 6 0 0 0; -#X connect 10 0 0 0; -#X connect 12 0 0 1; -#X connect 13 0 0 1; -#X connect 14 0 0 2; -#X connect 15 0 0 2; -#X connect 18 0 13 0; -#X connect 18 0 14 0; -#X connect 19 0 12 0; -#X connect 19 0 15 0; diff --git a/list_sum/list_sum-help.pd b/list_sum/list_sum-help.pd new file mode 100644 index 0000000..7259add --- /dev/null +++ b/list_sum/list_sum-help.pd @@ -0,0 +1,41 @@ +#N canvas 0 0 707 528 10; +#X obj 84 255 list_sum; +#X floatatom 101 358 0 0 0 3 length - -; +#X floatatom 84 391 0 0 0 3 total - -; +#X msg 150 82 set 2 100; +#X msg 149 98 set 2 498; +#X msg 32 106 clear; +#X msg 149 121 set 5 777; +#X text 215 81 individual elements can be set; +#X text 206 286 list_sum; +#X text 205 327 Edward Kelly 2007; +#X msg 84 55 all 200.5 498 166.3 81.7 94.4; +#X text 84 36 all in the left inlet calculates the sum of its elements. +; +#X msg 173 145 3; +#X msg 173 162 9; +#X msg 211 162 4; +#X msg 211 179 8; +#X text 200 144 max length; +#X text 241 162 wrap value; +#X obj 300 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 331 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 206 301 calculate the sum of elements in a list \, wrapping +the list.; +#X connect 0 0 2 0; +#X connect 0 1 1 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 6 0 0 0; +#X connect 10 0 0 0; +#X connect 12 0 0 1; +#X connect 13 0 0 1; +#X connect 14 0 0 2; +#X connect 15 0 0 2; +#X connect 18 0 13 0; +#X connect 18 0 14 0; +#X connect 19 0 12 0; +#X connect 19 0 15 0; diff --git a/list_sum/list_sum.c b/list_sum/list_sum.c index 6a2cee9..fd0d21d 100644 --- a/list_sum/list_sum.c +++ b/list_sum/list_sum.c @@ -170,7 +170,7 @@ void list_sum_setup(void) { post("|<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>|"); post("|<<>>|"); post("|<<<<<<<<>>>>>>>>>|"); - class_sethelpsymbol(list_sum_class, gensym("help-list_sum")); + // class_addmethod(list_sum_class, (t_method)list_sum_follow, gensym("follow"), A_DEFFLOAT, A_DEFFLOAT, 0); class_addmethod(list_sum_class, (t_method)list_sum_all, gensym("all"), A_GIMME, 0); class_addmethod(list_sum_class, (t_method)list_sum_clear, gensym("clear"), A_DEFFLOAT, 0); -- cgit v1.2.1