aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/pool.pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/pool/pool.pd')
-rw-r--r--externals/grill/pool/pool.pd92
1 files changed, 55 insertions, 37 deletions
diff --git a/externals/grill/pool/pool.pd b/externals/grill/pool/pool.pd
index eab56fc3..2c1c75d5 100644
--- a/externals/grill/pool/pool.pd
+++ b/externals/grill/pool/pool.pd
@@ -1,23 +1,23 @@
-#N canvas 12 3 936 692 12;
-#X msg 295 108 set 1 2 3;
+#N canvas 12 3 946 702 12;
+#X msg 296 105 set 1 2 3;
#X obj 308 619 print K;
#X msg 607 211 getall;
-#X msg 295 137 set A k g;
+#X msg 296 134 set A k g;
#X obj 259 648 print V;
#X obj 357 593 print D;
-#X msg 295 167 set A l m;
-#X msg 298 196 set 2 34;
-#X msg 428 105 clr A;
-#X msg 428 168 get A;
-#X msg 428 193 get 2;
+#X msg 296 164 set A l m;
+#X msg 299 193 set 2 34;
+#X msg 429 102 clr A;
+#X msg 429 165 get A;
+#X msg 429 190 get 2;
#X msg 40 132 echodir \$1;
#X obj 40 111 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 40 213 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X msg 40 234 absdir \$1;
-#X text 427 85 clear value;
-#X text 424 146 get value;
+#X text 428 82 clear value;
+#X text 425 143 get value;
#X obj 406 564 print C;
#X text 478 564 command;
#X text 430 593 directory (abs or rel to current);
@@ -28,12 +28,12 @@
#X text 86 343 set to private;
#X msg 42 405 reset;
#X text 41 384 clear all pool data;
-#X msg 613 111 clrall;
-#X text 604 89 clear all values in dir;
+#X msg 608 111 clrall;
+#X text 599 89 clear all values in dir;
#X text 607 190 get all values in dir;
#X text 175 500 pool name can be given as argument;
-#X text 603 136 clear all values and dirs;
-#X msg 611 158 clrrec;
+#X text 598 136 clear all values and dirs;
+#X msg 606 158 clrrec;
#X msg 605 258 getrec;
#X text 605 236 get all values in dir and subdirs;
#X text 670 289 bang at EOL;
@@ -42,19 +42,19 @@
#X text 43 291 set pool name;
#X text 40 89 at each command;
#X text 40 73 echo current dir;
-#X text 292 83 set values;
+#X text 293 80 set values;
#X text 35 194 (default on);
#X text 27 178 report absolute dirs;
#X msg 43 452 help;
#X text 86 453 get some info;
#X text 670 274 default=-1 (= infinite);
-#X msg 609 338 cntall;
-#X text 675 336 count all values in dir;
-#X msg 609 364 cntrec;
-#X text 677 362 ... and subdirs;
-#X text 673 376 (depth may be given);
-#X text 294 261 set but don't replace;
-#N canvas 0 0 514 540 dirs 0;
+#X msg 609 340 cntall;
+#X text 675 338 count all values in dir;
+#X msg 609 366 cntrec;
+#X text 677 364 ... and subdirs;
+#X text 673 378 (depth may be given);
+#X text 295 258 set but don't replace;
+#N canvas 0 0 520 546 dirs 0;
#X msg 109 27 mkdir fld1;
#X msg 111 122 chdir;
#X msg 110 217 updir;
@@ -92,9 +92,9 @@
#X connect 13 0 26 0;
#X connect 22 0 26 0;
#X connect 23 0 26 0;
-#X restore 718 511 pd dirs;
-#X text 715 485 directory operations;
-#N canvas 0 0 821 453 file 0;
+#X restore 716 496 pd dirs;
+#X text 713 470 directory operations;
+#N canvas 0 0 829 461 file 0;
#X text 117 207 save dir and subdirs;
#X text 117 165 save data in current dir;
#X text 117 253 load data into current dir;
@@ -141,10 +141,10 @@ the folder containing the current patcher will be used.;
#X connect 29 0 18 0;
#X connect 30 0 18 0;
#X connect 31 0 18 0;
-#X restore 719 566 pd file;
-#X text 717 543 file operations;
-#X text 717 600 clipboard operations;
-#N canvas 0 0 535 583 clip 0;
+#X restore 717 551 pd file;
+#X text 715 528 file operations;
+#X text 715 585 clipboard operations;
+#N canvas 0 0 541 589 clip 0;
#X text 97 56 copy value associated to key into clipboard;
#X msg 100 77 copy A;
#X msg 98 119 cut B;
@@ -182,9 +182,9 @@ the folder containing the current patcher will be used.;
#X connect 14 0 26 0;
#X connect 21 0 26 0;
#X connect 23 0 26 0;
-#X restore 719 623 pd clip;
-#X text 717 454 more commands:;
-#X obj 289 389 r \$0-pool;
+#X restore 716 606 pd clip;
+#X text 715 439 more commands:;
+#X obj 298 389 r \$0-pool;
#X text 174 517 data is shared among pool objects with the same name
;
#X obj 26 10 cnv 15 850 40 empty empty pool 10 22 0 24 -260818 -1 0
@@ -198,13 +198,31 @@ the folder containing the current patcher will be used.;
#X msg 146 313 getpool;
#X text 272 13 a hierarchical storage object \, (C)2002-2003 Thomas
Grill;
-#X msg 296 282 add 2 14;
+#X msg 297 279 add 2 14;
#X obj 260 478 pool @valcnt 10 @dircnt 5;
-#X text 332 442 expected value and directory counts;
-#X text 332 457 can be given for optimal performance;
-#X msg 428 218 get 3;
-#X msg 299 227 set 3 -1 1;
+#X text 330 437 expected value and directory counts;
+#X text 330 452 can be given for optimal performance;
+#X msg 429 215 get 3;
+#X msg 300 224 set 3 -1 1;
#X msg 41 518 getmethods;
+#X text 328 466 (see attributes in properties dialog);
+#X text 715 638 console printout;
+#N canvas 0 0 553 284 print 0;
+#X obj 21 231 s \$0-pool;
+#X msg 109 80 printall;
+#X msg 109 132 printrec;
+#X text 110 60 print all values in dir;
+#X text 109 112 print values in dir and subdirs;
+#X text 179 131 (depth may be given);
+#X text 22 12 print-to-console operations;
+#X text 190 185 (depth may be given);
+#X msg 109 181 printroot;
+#X text 109 161 print values in dir and subdirs (starting from root)
+;
+#X connect 1 0 0 0;
+#X connect 2 0 0 0;
+#X connect 8 0 0 0;
+#X restore 717 659 pd print;
#X connect 0 0 72 0;
#X connect 2 0 72 0;
#X connect 3 0 72 0;