Revision: 10367 http://pure-data.svn.sourceforge.net/pure-data/?rev=10367&view=rev Author: fbar Date: 2008-11-06 12:31:50 +0000 (Thu, 06 Nov 2008)
Log Message: ----------- replaced once
Modified Paths: -------------- trunk/abstractions/footils/list-abs/list-sort.pd
Modified: trunk/abstractions/footils/list-abs/list-sort.pd =================================================================== --- trunk/abstractions/footils/list-abs/list-sort.pd 2008-11-06 10:47:07 UTC (rev 10366) +++ trunk/abstractions/footils/list-abs/list-sort.pd 2008-11-06 12:31:50 UTC (rev 10367) @@ -27,7 +27,6 @@ #N canvas 111 181 880 518 test 0; #X obj 391 210 list-find; #X msg 391 189 1; -#X obj 391 263 once; #X obj 45 143 list-len; #X obj 45 459 outlet; #X obj 45 307 list; @@ -45,15 +44,15 @@ #X obj 114 66 r $0-newelementtotest; #X text 351 91 <- the position of the new element must be between the 0 and 1 returned by [list-apply]; -#X text 460 207 <- find the first 1 in the list returned by [list-apply] +#X text 468 208 <- find the first 1 in the list returned by [list-apply] and return its position; #X obj 181 426 s $0-sort; #X text 769 468 2008 Jack/RYBN; -#X text 521 262 <- the 1 exist or not ? if it exist then sort the list +#X text 537 258 <- the 1 exist or not ? if it exist then sort the list (red part) if not do nothing (green part); #X obj 391 165 t b b a; -#X obj 482 263 == 0; -#X obj 442 263 != 0; +#X obj 491 259 == 0; +#X obj 451 259 != 0; #X obj 174 294 cnv 15 200 125 empty empty empty 20 12 0 14 -258113 -66577 0; #X obj 384 294 cnv 15 100 50 empty empty empty 20 12 0 14 -4034 -66577 @@ -74,48 +73,64 @@ or green part; #X obj 90 42 r $0-isasc; #X obj 308 42 r $0-isdesc; +#N canvas 0 0 450 300 once 0; +#X obj 119 106 inlet; +#X obj 119 206 outlet; +#X obj 119 155 spigot 1; +#X obj 172 105 inlet; +#X msg 172 125 1; +#X obj 119 176 t a b; +#X msg 189 156 0; #X connect 0 0 2 0; +#X connect 2 0 5 0; +#X connect 3 0 4 0; +#X connect 4 0 2 1; +#X connect 5 0 1 0; +#X connect 5 1 6 0; +#X connect 6 0 2 1; +#X restore 391 258 pd once; +#X connect 0 0 41 0; +#X connect 0 1 23 0; #X connect 0 1 24 0; -#X connect 0 1 25 0; #X connect 1 0 0 0; -#X connect 2 0 32 1; -#X connect 3 0 8 0; -#X connect 5 0 4 0; -#X connect 6 0 7 1; -#X connect 7 0 5 0; -#X connect 8 0 7 0; -#X connect 8 1 31 0; -#X connect 9 0 5 1; -#X connect 10 0 3 0; -#X connect 10 1 23 0; +#X connect 2 0 7 0; +#X connect 4 0 3 0; +#X connect 5 0 6 1; +#X connect 6 0 4 0; +#X connect 7 0 6 0; +#X connect 7 1 30 0; +#X connect 8 0 4 1; +#X connect 9 0 2 0; +#X connect 9 1 22 0; +#X connect 10 0 9 0; #X connect 11 0 10 0; -#X connect 12 0 11 0; -#X connect 13 0 10 0; +#X connect 12 0 9 0; +#X connect 13 0 12 0; +#X connect 14 0 11 0; #X connect 14 0 13 0; -#X connect 15 0 12 0; -#X connect 15 0 14 0; -#X connect 16 0 13 2; -#X connect 17 0 11 2; -#X connect 23 0 1 0; -#X connect 23 1 2 1; -#X connect 23 2 0 1; -#X connect 24 0 38 1; -#X connect 25 0 34 1; -#X connect 28 0 30 0; -#X connect 28 1 29 1; -#X connect 29 0 32 0; -#X connect 30 0 34 0; -#X connect 30 0 38 0; -#X connect 31 0 28 0; -#X connect 32 0 33 0; -#X connect 33 0 20 0; -#X connect 34 0 29 0; -#X connect 35 0 30 1; -#X connect 36 0 30 1; -#X connect 37 0 32 2; -#X connect 38 0 20 0; -#X connect 40 0 12 1; -#X connect 41 0 14 1; +#X connect 15 0 12 2; +#X connect 16 0 10 2; +#X connect 22 0 1 0; +#X connect 22 1 41 1; +#X connect 22 2 0 1; +#X connect 23 0 37 1; +#X connect 24 0 33 1; +#X connect 27 0 29 0; +#X connect 27 1 28 1; +#X connect 28 0 31 0; +#X connect 29 0 33 0; +#X connect 29 0 37 0; +#X connect 30 0 27 0; +#X connect 31 0 32 0; +#X connect 32 0 19 0; +#X connect 33 0 28 0; +#X connect 34 0 29 1; +#X connect 35 0 29 1; +#X connect 36 0 31 2; +#X connect 37 0 19 0; +#X connect 39 0 11 1; +#X connect 40 0 13 1; +#X connect 41 0 31 1; #X restore 55 331 pd test; #X obj 87 181 s $0-newelementtotest; #X text 489 344 2008 Jack/RYBN;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.