Update of /cvsroot/pure-data/abstractions/footils/list-abs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11409
Modified Files: prepent-help.pd Log Message: Extended example
Index: prepent-help.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/prepent-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** prepent-help.pd 7 Mar 2006 10:13:17 -0000 1.1 --- prepent-help.pd 7 Mar 2006 10:22:34 -0000 1.2 *************** *** 1,23 **** ! #N canvas 262 329 524 303 10; ! #X obj 338 151 prepent set; ! #X msg 338 206; ! #X floatatom 338 73 5 0 0 0 - - -; ! #X msg 410 123 set; ! #X msg 440 123 add2; ! #X msg 348 185 set; #X floatatom 49 67 5 0 0 0 - - -; #X obj 49 127 prepent x; ! #X obj 49 168 route x; ! #X obj 163 167 route x; ! #X obj 163 131 list prepend x; ! #X obj 163 200 print prepend_x; ! #X obj 49 201 print prepent_x; #X text 43 15 [prepent] is a shortcut for [list prepend]--[list trim] ; ! #X obj 163 227 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 49 227 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; - #X text 161 105 Without trim:; #X connect 0 0 1 0; #X connect 2 0 0 0; --- 1,29 ---- ! #N canvas 262 329 608 369 10; ! #X obj 429 170 prepent set; ! #X msg 429 225; ! #X floatatom 429 92 5 0 0 0 - - -; ! #X msg 501 142 set; ! #X msg 531 142 add2; ! #X msg 439 204 set; #X floatatom 49 67 5 0 0 0 - - -; #X obj 49 127 prepent x; ! #X obj 233 131 list prepend x; ! #X obj 233 240 print prepend_x; ! #X obj 49 241 print prepent_x; #X text 43 15 [prepent] is a shortcut for [list prepend]--[list trim] ; ! #X obj 233 267 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 49 267 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 ! -1; ! #X text 231 105 Without trim:; ! #X obj 233 167 route x list; ! #X obj 272 196 print prepend_list; ! #X obj 49 168 route x list; ! #X obj 88 198 print prepent_list; ! #X obj 272 216 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 ! -1; ! #X obj 88 218 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X connect 0 0 1 0; #X connect 2 0 0 0; *************** *** 26,34 **** #X connect 5 0 1 0; #X connect 6 0 7 0; ! #X connect 6 0 10 0; ! #X connect 7 0 8 0; ! #X connect 8 0 12 0; #X connect 8 0 15 0; ! #X connect 9 0 11 0; ! #X connect 9 0 14 0; ! #X connect 10 0 9 0; --- 32,44 ---- #X connect 5 0 1 0; #X connect 6 0 7 0; ! #X connect 6 0 8 0; ! #X connect 7 0 17 0; #X connect 8 0 15 0; ! #X connect 15 0 9 0; ! #X connect 15 0 12 0; ! #X connect 15 1 16 0; ! #X connect 15 1 19 0; ! #X connect 17 0 10 0; ! #X connect 17 0 13 0; ! #X connect 17 1 18 0; ! #X connect 17 1 20 0;