compare-any-help.pd 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #N canvas 0 26 528 377 10;
  2. #X msg 246 131 symbol x;
  3. #X msg 255 154 symbol y;
  4. #X msg 116 137 symbol x;
  5. #X msg 125 160 symbol y;
  6. #X obj 96 254 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  7. 1;
  8. #X msg 236 109 2.3;
  9. #X msg 106 114 2.3;
  10. #X msg 131 180 i;
  11. #X msg 140 201 j;
  12. #X msg 258 175 i;
  13. #X msg 264 196 j;
  14. #X obj 96 278 print;
  15. #X text 37 14 [compare-any];
  16. #X text 81 37 Test if two anythings are the same. Out: 1 if equal \,
  17. 0 if not equal.;
  18. #X msg 96 92 1;
  19. #X msg 226 87 1;
  20. #X obj 96 231 compare-any;
  21. #X msg 221 66 0;
  22. #X msg 86 71 0;
  23. #N canvas 520 35 494 396 META 0;
  24. #X text 12 25 LICENSE SIBSD;
  25. #X text 12 135 AUTHOR Frank Barknecht;
  26. #X text 12 155 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
  27. added by Jonathan Wilkes for Pd version 0.42.;
  28. #X text 12 75 INLET_0 anything;
  29. #X text 12 95 INLET_1 anything;
  30. #X text 12 115 OUTLET_0 float;
  31. #X text 12 5 KEYWORDS control anything_op;
  32. #X text 12 45 DESCRIPTION test if two anythings are the same. Out:
  33. 1 if equal \, 0 if not equal;
  34. #X restore 474 347 pd META;
  35. #X connect 0 0 16 1;
  36. #X connect 1 0 16 1;
  37. #X connect 2 0 16 0;
  38. #X connect 3 0 16 0;
  39. #X connect 4 0 11 0;
  40. #X connect 5 0 16 1;
  41. #X connect 6 0 16 0;
  42. #X connect 7 0 16 0;
  43. #X connect 8 0 16 0;
  44. #X connect 9 0 16 1;
  45. #X connect 10 0 16 1;
  46. #X connect 14 0 16 0;
  47. #X connect 15 0 16 1;
  48. #X connect 16 0 4 0;
  49. #X connect 17 0 16 1;
  50. #X connect 18 0 16 0;