arguments-help.pd 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #N canvas 1 53 880 406 10;
  2. #X obj 506 84 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  3. -1;
  4. #X obj 506 333 ./test-arguments-all a bear 3 34;
  5. #X obj 507 307 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  6. -1 -1;
  7. #X obj 508 181 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  8. -1 -1;
  9. #X obj 508 206 ./test-arguments-token @a 54 @c 764;
  10. #X obj 506 104 ./test-arguments-comma ready \, 1 2 3 \, go speedracer
  11. ;
  12. #X obj -1 29 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
  13. 0;
  14. #X text 7 78 author: mrtoftrash@gmail.com;
  15. #X text 6 56 tags: initialization patch;
  16. #X text 6 27 description: Outputs and parses the patch's creation arguments.
  17. ;
  18. #X text 5 98 version: 2009-10-27 (initial release);
  19. #X text 5 139 see also:;
  20. #X obj 77 142 tof/argument;
  21. #X text 15 180 [arguments mode];
  22. #X text 15 209 argument 1 symbol: the parsing mode. If it is "comma"
  23. or " \, " the mode is set to COMMA. If it is another symbol \, the
  24. first character of the symbol is used as a TOKEN. If no argument is
  25. set \, the default mode is ALL.;
  26. #X text 17 284 inlet 1 bang: outputs parsed patch creation arguments.
  27. ;
  28. #X text 18 308 outlet 1 variable: the parsed patch arguments.;
  29. #X text 611 32 COMMA MODE;
  30. #X obj 546 57 tof/arguments comma;
  31. #X obj 681 57 tof/arguments \,;
  32. #X text 613 265 ALL MODE;
  33. #X text 608 132 TOKEN MODE;
  34. #X obj 593 158 tof/arguments @;
  35. #X obj 596 290 tof/arguments;
  36. #N canvas 450 281 494 344 META 0;
  37. #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  38. Wilkes for Pd version 0.42.;
  39. #X text 12 25 LICENSE GPL v2;
  40. #X text 12 105 AUTHOR Thomas Ouellet Fredericks;
  41. #X text 12 65 INLET_0 bang;
  42. #X text 12 85 OUTLET_0 anything;
  43. #X text 12 5 KEYWORDS control abstraction_op;
  44. #X text 12 45 DESCRIPTION parse and output the patch's creation arguments.
  45. ;
  46. #X restore 822 377 pd META;
  47. #X connect 0 0 5 0;
  48. #X connect 2 0 1 0;
  49. #X connect 3 0 4 0;