Update of /cvsroot/pure-data/externals/PDContainer/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17237/help
Modified Files: help-h_list.pd Log Message:
Index: help-h_list.pd =================================================================== RCS file: /cvsroot/pure-data/externals/PDContainer/help/help-h_list.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** help-h_list.pd 21 Feb 2005 18:18:02 -0000 1.2 --- help-h_list.pd 22 Feb 2005 20:54:27 -0000 1.3 *************** *** 1,3 **** ! #N canvas 229 21 834 894 10; #X obj 525 58 cnv 15 204 104 empty empty empty 20 12 0 14 -66577 -66577 0; --- 1,3 ---- ! #N canvas 303 21 834 894 10; #X obj 525 58 cnv 15 204 104 empty empty empty 20 12 0 14 -66577 -66577 0; *************** *** 146,155 **** -66577 0; #X text 311 50 help file of; ! #X text 209 847 =%)!(%= PDContainer , by Georg Holzmann grh@gmx.at , 2004; #X text 52 112 init arg: namespace; #X msg 496 307 print; #X msg 496 351 clear; ! #X msg 496 647 help; #X obj 617 721 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; --- 146,155 ---- -66577 0; #X text 311 50 help file of; ! #X text 194 842 =%)!(%= PDContainer , by Georg Holzmann grh@gmx.at , 2004; #X text 52 112 init arg: namespace; #X msg 496 307 print; #X msg 496 351 clear; ! #X msg 496 662 help; #X obj 617 721 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; *************** *** 253,261 **** #X obj 496 700 h_list simonatbase; #X text 617 739 <- size of the list; ! #X obj 187 704 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 66 683 h_list simonatbase; ! #X obj 66 657 r $0-list; ! #X obj 66 722 print AAA; #N canvas 523 246 495 416 pusch_pop_back_front 0; #X msg 66 229 popback; --- 253,261 ---- #X obj 496 700 h_list simonatbase; #X text 617 739 <- size of the list; ! #X obj 205 730 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 84 709 h_list simonatbase; ! #X obj 84 683 r $0-list; ! #X obj 84 748 print AAA; #N canvas 523 246 495 416 pusch_pop_back_front 0; #X msg 66 229 popback; *************** *** 290,300 **** #X connect 9 0 11 0; #X connect 10 0 11 0; ! #X restore 147 491 pd pusch_pop_back_front; ! #X text 51 449 insert/remove/get data at the back/front of the list ,; ! #X text 54 244 You can use so called "iterators" to navigate through ; ! #X text 51 465 _without_ changing the current iterator position:; ! #N canvas 423 58 493 492 iterator_navigation 0; #X text 39 73 Iterators are a generalization of pointers: they are objects that point to other objects. Via an iterator you can navigate --- 290,300 ---- #X connect 9 0 11 0; #X connect 10 0 11 0; ! #X restore 149 503 pd pusch_pop_back_front; ! #X text 53 461 insert/remove/get data at the back/front of the list ,; ! #X text 56 256 You can use so called "iterators" to navigate through ; ! #X text 53 477 _without_ changing the current iterator position:; ! #N canvas 843 44 493 562 iterator_navigation 0; #X text 39 73 Iterators are a generalization of pointers: they are objects that point to other objects. Via an iterator you can navigate *************** *** 306,310 **** #X msg 43 321 next; #X text 40 179 iterator navigation:; ! #X obj 43 447 s $0-list; #X text 91 217 <- points to the first element fo the h_list; #X text 87 244 <- points _after_ the last element of the h_list; --- 306,310 ---- #X msg 43 321 next; #X text 40 179 iterator navigation:; ! #X obj 43 505 s $0-list; #X text 91 217 <- points to the first element fo the h_list; #X text 87 244 <- points _after_ the last element of the h_list; *************** *** 321,324 **** --- 321,327 ---- #X text 113 401 <- puts out the current iterator position; #X text 134 416 at second outlet; + #X msg 57 467 setiter $1; + #X floatatom 57 448 5 0 0 0 - - -; + #X text 147 467 <- set specific iterator position; #X connect 2 0 5 0; #X connect 3 0 5 0; *************** *** 326,334 **** #X connect 14 0 5 0; #X connect 17 0 5 0; ! #X restore 152 300 pd iterator_navigation; ! #X text 54 258 the h_list. Here is a short explanation of iterators ; ! #X text 54 272 and how you can use it in with h_list:; ! #X text 56 361 operations at a specific iterator position:; #N canvas 435 254 468 394 iterator_operations 0; #X obj 54 313 s $0-list; --- 329,339 ---- #X connect 14 0 5 0; #X connect 17 0 5 0; ! #X connect 20 0 5 0; ! #X connect 21 0 20 0; ! #X restore 150 312 pd iterator_navigation; ! #X text 56 270 the h_list. Here is a short explanation of iterators ; ! #X text 56 284 and how you can use it in with h_list:; ! #X text 58 373 operations at a specific iterator position:; #N canvas 435 254 468 394 iterator_operations 0; #X obj 54 313 s $0-list; *************** *** 352,357 **** #X connect 5 0 2 0; #X connect 7 0 0 0; ! #X restore 149 385 pd iterator_operations; ! #X text 50 547 special operations with h_list:; #N canvas 705 269 550 449 special_operations 0; #X msg 54 289 unique; --- 357,362 ---- #X connect 5 0 2 0; #X connect 7 0 0 0; ! #X restore 151 397 pd iterator_operations; ! #X text 52 559 special operations with h_list:; #N canvas 705 269 550 449 special_operations 0; #X msg 54 289 unique; *************** *** 378,391 **** #X connect 7 0 3 0; #X connect 8 0 3 0; ! #X restore 145 575 pd special_operations; ! #X text 212 703 <- bang if not found; #X floatatom 576 739 5 0 0 0 - - -; #X text 578 759 <- current iterator position; ! #X floatatom 146 704 5 0 0 0 - - -; ! #X floatatom 106 704 5 0 0 0 - - -; ! #X msg 496 620 getiter; #X text 561 569 <- get the size (at 3nd; ! #X text 587 636 (2nd outlet); ! #X text 566 621 <- get current iterator pos; #X connect 8 0 40 0; #X connect 9 0 40 0; --- 383,396 ---- #X connect 7 0 3 0; #X connect 8 0 3 0; ! #X restore 147 587 pd special_operations; ! #X text 230 729 <- bang if not found; #X floatatom 576 739 5 0 0 0 - - -; #X text 578 759 <- current iterator position; ! #X floatatom 164 730 5 0 0 0 - - -; ! #X floatatom 124 730 5 0 0 0 - - -; ! #X msg 496 613 getiter; #X text 561 569 <- get the size (at 3nd; ! #X text 587 629 (2nd outlet); ! #X text 566 614 <- get current iterator pos; #X connect 8 0 40 0; #X connect 9 0 40 0;