Hallo, Oded Ben-Tal hat gesagt: // Oded Ben-Tal wrote:
I noticed that sometimes a bang message gets converted to zero but not always. for example if I send a bang to a number object it dosn't change anything, but if I pass the bang through a pipe object first it changes the number to zero. Does anyone know why?
[pipe] as default stores and delays float numbers. If you bang a [pipe] object it will kind of see it as if you'd send a 0. Funny things will happen if you send something different.
You can make a pipe expect symbols by using it as [pipe s 0]. You also can make pipe expect pointers, but unfortunatly you cannot make it expect variable length lists AFAIK.
See attached example patch.
Frank Barknecht _ ______footils.org_ __goto10.org__