loadonce-help.pd 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #N canvas 186 196 708 437 10;
  2. #X text 64 386 (c)2013 Marian Weger;
  3. #X text 42 55 loadonce <name>;
  4. #X obj 161 304 print B;
  5. #X obj 74 307 print A;
  6. #X obj 74 240 loadonce myname;
  7. #X obj 311 304 print B;
  8. #X obj 224 327 print A;
  9. #X obj 74 158 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  10. -1;
  11. #X obj 85 287 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  12. -1;
  13. #X obj 175 285 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  14. -1 -1;
  15. #X obj 239 299 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  16. -1 -1;
  17. #X obj 329 280 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  18. -1 -1;
  19. #X obj 224 240 loadonce myname;
  20. #X obj 311 208 bng 15 250 50 0 empty empty reset 17 7 0 10 -262144
  21. -1 -1;
  22. #X text 138 109 [loadonce] will pass a message only once. If there
  23. are multiple instances with the same name \, only one of them will
  24. pass the message.;
  25. #X connect 4 0 3 0;
  26. #X connect 4 0 8 0;
  27. #X connect 4 1 2 0;
  28. #X connect 4 1 9 0;
  29. #X connect 7 0 4 0;
  30. #X connect 7 0 12 0;
  31. #X connect 12 0 6 0;
  32. #X connect 12 0 10 0;
  33. #X connect 12 1 5 0;
  34. #X connect 12 1 11 0;
  35. #X connect 13 0 12 1;