[PD-cvs] externals/zexy/reference list2lists-help.pd, NONE, 1.1 listfind-help.pd, NONE, 1.1

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Thu Jul 26 12:24:40 CEST 2007


Update of /cvsroot/pure-data/externals/zexy/reference
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11678/reference

Added Files:
	list2lists-help.pd listfind-help.pd 
Log Message:
added more list operating objects


--- NEW FILE: list2lists-help.pd ---
#N canvas 385 348 685 429 10;
#X text 497 29 part of zexy;
#X obj 63 13 list2lists;
#X text 136 13 - split a list into sublists;
#X obj 88 220 print sublists;
#X obj 88 175 list2lists;
#X msg 88 83 1 2 3 4 5 6 7 8 9 10;
#X text 216 154 an array of lengths of the sublists;
#X text 226 84 a list to be split;
#X text 186 214 outputs a number of sublists each having the length
as specified to the object.;
#X text 91 266 if the total length of the sublists exceeds the length
of the input list \, the rest of the sublists is discarded;
#X msg 143 153 4 3 0 0 -1 -2;
#X text 94 293 zero-length sublists are "bangs";
#X text 77 351 see also;
#X obj 150 350 repack;
#X text 206 351 fixed sized sublists;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 10 0 4 1;

--- NEW FILE: listfind-help.pd ---
#N canvas 385 348 685 518 10;
#X text 497 29 part of zexy;
#X obj 63 13 listfind;
#X text 122 14 - find sublists in lists;
#X obj 88 175 listfind;
#X msg 279 154 1 2 3 2 1 8 2 3 4;
#X obj 279 128 loadbang;
#X msg 88 71 1;
#X text 283 174 set the list to be searched;
#X text 85 55 the list to be found;
#X msg 100 95 list bla;
#X msg 114 119 list 2 3;
#X msg 126 142 list 8;
#X obj 88 220 print found@;
#X text 180 223 outputs a list of (0-based) indices of all occurences
of the sublist;
#X text 84 281 this is similar (and hopefully compatible) to foobar's
[list-find] but it searches not only for single elements but for entire
sub-lists;
#X connect 3 0 12 0;
#X connect 4 0 3 1;
#X connect 5 0 4 0;
#X connect 6 0 3 0;
#X connect 9 0 3 0;
#X connect 10 0 3 0;
#X connect 11 0 3 0;





More information about the Pd-cvs mailing list