list-len-help.pd 883 B

1234567891011121314151617181920212223242526272829
  1. #N canvas 0 31 450 300 10;
  2. #X obj 123 162 list-len;
  3. #X msg 160 132 1 2 3 4 5 6;
  4. #X obj 123 232 print Length;
  5. #X floatatom 141 197 5 0 0 0 - - -;
  6. #X msg 123 77 bang;
  7. #X text 47 20 list-len: calculate length of a list.;
  8. #X msg 136 101 1;
  9. #X text 182 74 empty list;
  10. #X text 218 102 convert atom to 1-elem list;
  11. #X text 262 133 "real" lists;
  12. #X msg 167 101 dog;
  13. #N canvas 460 31 494 396 META 0;
  14. #X text 12 25 LICENSE SIBSD;
  15. #X text 12 105 AUTHOR Frank Barknecht;
  16. #X text 12 125 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
  17. added by Jonathan Wilkes for Pd version 0.42.;
  18. #X text 12 5 KEYWORDS control list_op;
  19. #X text 12 65 INLET_0 anything;
  20. #X text 12 45 DESCRIPTION calculate length of a list;
  21. #X text 12 85 OUTLET_0 float;
  22. #X restore 386 261 pd META;
  23. #X connect 0 0 2 0;
  24. #X connect 0 0 3 0;
  25. #X connect 1 0 0 0;
  26. #X connect 4 0 0 0;
  27. #X connect 6 0 0 0;
  28. #X connect 10 0 0 0;