From 7d6affca746f49f5ffb2818b8a9ccf9d91388e8f Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Wed, 25 Aug 2010 00:31:27 +0000 Subject: revised help docs that conform to the PDDP template svn path=/trunk/; revision=13942 --- doc/pddp/import-help.pd | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 doc/pddp/import-help.pd (limited to 'doc/pddp/import-help.pd') diff --git a/doc/pddp/import-help.pd b/doc/pddp/import-help.pd new file mode 100644 index 00000000..130ce42f --- /dev/null +++ b/doc/pddp/import-help.pd @@ -0,0 +1,87 @@ +#N canvas 0 0 555 619 10; +#X declare; +#X declare; +#X declare -lib ext13 -lib memento -lib rradical; +#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 +14 -228856 -66577 0; +#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header import 3 12 0 18 +-204280 -1 0; +#X obj 0 294 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 +-228856 -1 0; +#N canvas 51 246 494 344 META 0; +#X text 12 105 PLATFORM windows macosx gnulinux; +#X text 12 185 LIBRARY internal; +#X text 12 225 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 65 LICENSE SIBSD; +#X text 12 205 AUTHOR Miller Puckette; +#X text 12 285 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch +to conform to the PDDP template for Pd version 0.42.; +#X text 12 5 GENRE help; +#X text 12 45 KEYWORDS control; +#X text 12 85 DESCRIPTION load libraries from a patch; +#X text 12 125 INLET_0 bang rewind; +#X text 12 145 OUTLET_0 symbol; +#X text 12 165 OUTLET_1 bang; +#X text 12 25 NAME import; +#X text 12 245 RELEASE_DATE 1997; +#X text 12 265 RELEASE_VERSION; +#X restore 500 597 pd META; +#X obj 0 369 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0 +13 -228856 -1 0; +#X obj 0 455 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12 +0 13 -228856 -1 0; +#X obj 0 505 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12 +0 13 -228856 -1 0; +#N canvas 105 478 428 109 Related_objects 0; +#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 +14 -204280 -1 0; +#X text 7 1 [import] Related Objects; +#X obj 22 42 declare; +#X restore 102 597 pd Related_objects; +#X obj 78 303 cnv 17 3 55 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +-162280 0; +#X obj 78 378 cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +-162280 0; +#X obj 78 411 cnv 17 3 35 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 +-162280 0; +#X obj 482 3 import; +#X obj 455 20 pddp/pddplink http://wiki.puredata.info/en/import -text +pdpedia: import; +#X msg 91 114 bang; +#X obj 91 162 import ext13 memento rradical; +#X symbolatom 102 188 0 0 0 0 - - -; +#X obj 91 214 print; +#X text 138 113 get next item in list of loaded libs; +#X text 150 137 start at the top of the list again; +#X msg 103 138 rewind; +#X text 97 509 [import] loads libraries from the patch. On Pd 0.40. +or greater \, it loads the library into the patch's local namespace. +On older versions \, it loads the libraries into the global namespace. +; +#X text 98 302 bang; +#X text 98 332 rewind; +#X text 98 377 symbol; +#X text 98 410 bang; +#X obj 262 184 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 283 183 bang after the end of the list is reached; +#X text 11 23 load libraries from a patch; +#X text 168 377 - a "bang" to the inlet of [import] sends a symbol +to the left outlet which the name of a loaded library.; +#X text 168 332 - the "rewind" message starts at the top of the list +of libraries.; +#X text 168 302 - sending a "bang" to [import] makes it output the +loaded libraries one at a time (i.e. \, one per bang).; +#X text 167 410 - once [import] has output the last library in the +list \, sending another "bang" to its inlet will cause a "bang" to +be sent out its right outlet.; +#X text 80 471 n) symbol atom; +#X text 167 471 - the arguments to [import] specify the libraries to +load for patch.; +#X obj 4 597 pddp/pddplink pddp/help.pd -text help; +#X obj 97 568 pddp/pddplink all_about_libraries.pd; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 14 0 16 0; +#X connect 14 1 25 0; +#X connect 19 0 14 0; -- cgit v1.2.1