Update of /cvsroot/pure-data/externals/PDContainer/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20815
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.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** help-h_list.pd 25 Oct 2004 19:02:32 -0000 1.1.1.1 --- help-h_list.pd 21 Feb 2005 18:18:02 -0000 1.2 *************** *** 1,3 **** ! #N canvas 229 21 834 839 10; #X obj 525 58 cnv 15 204 104 empty empty empty 20 12 0 14 -66577 -66577 0; --- 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; *************** *** 146,160 **** -66577 0; #X text 311 50 help file of; ! #X text 209 780 =%)!(%= 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 599 help; ! #X obj 617 647 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 496 248 getnamespace; #X msg 496 389 clearall; ! #X obj 496 686 print BBB; #X text 607 273 <- change namespace; #X msg 496 272 namespace grix; --- 146,160 ---- -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; #X msg 496 248 getnamespace; #X msg 496 389 clearall; ! #X obj 496 778 print BBB; #X text 607 273 <- change namespace; #X msg 496 272 namespace grix; *************** *** 243,248 **** #X msg 496 454 save data.dat; #X msg 496 495 read data.dat; ! #X floatatom 556 666 5 0 0 0 - - -; ! #X text 561 569 <- get the size (at 2nd; #X text 583 583 outlet); #X text 303 67 ::: h_list :::; --- 243,247 ---- #X msg 496 454 save data.dat; #X msg 496 495 read data.dat; ! #X floatatom 536 758 5 0 0 0 - - -; #X text 583 583 outlet); #X text 303 67 ::: h_list :::; *************** *** 252,262 **** #X text 609 523 add it at the current; #X text 610 537 iterator position; ! #X obj 496 626 h_list simonatbase; ! #X text 597 667 <- 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 708 print AAA; #N canvas 523 246 495 416 pusch_pop_back_front 0; #X msg 66 229 popback; --- 251,261 ---- #X text 609 523 add it at the current; #X text 610 537 iterator position; ! #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; *************** *** 297,301 **** ; #X text 51 465 _without_ changing the current iterator position:; ! #N canvas 592 195 493 471 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 --- 296,300 ---- ; #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 *************** *** 307,311 **** #X msg 43 321 next; #X text 40 179 iterator navigation:; ! #X obj 43 417 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 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; *************** *** 319,326 **** --- 318,329 ---- #X text 84 358 <- decrement the iterator - so it will point to; #X text 106 372 the previous element of h_list; + #X msg 43 400 getiter; + #X text 113 401 <- puts out the current iterator position; + #X text 134 416 at second outlet; #X connect 2 0 5 0; #X connect 3 0 5 0; #X connect 13 0 5 0; #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 *************** *** 377,393 **** #X restore 145 575 pd special_operations; #X text 212 703 <- bang if not found; ! #X connect 8 0 41 0; ! #X connect 9 0 41 0; ! #X connect 10 0 41 0; ! #X connect 12 0 41 0; ! #X connect 13 0 41 0; ! #X connect 16 0 41 0; ! #X connect 30 0 41 0; ! #X connect 32 0 41 0; ! #X connect 33 0 41 0; ! #X connect 41 0 14 0; ! #X connect 41 1 34 0; ! #X connect 41 2 11 0; ! #X connect 44 0 46 0; ! #X connect 44 2 43 0; ! #X connect 45 0 44 0; --- 380,408 ---- #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; ! #X connect 10 0 40 0; ! #X connect 12 0 40 0; ! #X connect 13 0 40 0; ! #X connect 16 0 40 0; ! #X connect 30 0 40 0; ! #X connect 32 0 40 0; ! #X connect 33 0 40 0; ! #X connect 40 0 14 0; ! #X connect 40 1 34 0; ! #X connect 40 2 58 0; ! #X connect 40 3 11 0; ! #X connect 43 0 45 0; ! #X connect 43 1 61 0; ! #X connect 43 2 60 0; ! #X connect 43 3 42 0; ! #X connect 44 0 43 0; ! #X connect 62 0 40 0;