unsure about bag abstraction
recently I created a stupid little extension of the bag object I’m using in several occasions (and with different contents) within one big patch. I called it "bag+", and it does what I thought a bag object might do. But I’m no programmer, and a doubt makes me uneasy: if I use this abstraction with a bag object in it, can I be sure that every instance contains the different things it’s supposed to contain, or may they all share the same content?
Here’s what I’m speaking about:
----------begin_max5_patcher---------- 564.3ocwV01aaBCD9yvuBK+oMsrHLXfj9qXeeaZhWtPbEXiLNcoqp+2m84PJ oCU0nFMPBGtymer8yiuy4ov.Zo5HLPI2Q9NIH3ovf.zkyQvI6.ZWwwp1hALL ZkpqCjF5JeeF3nA8WVzPpTRisugwNaERnRcPhQDex4NaPCh+.nO95nStkG5D xVvfyB6jyxCkksPuR3gfMMZ0AyX3id6KLU6ExleogJieSkjswNHBayl0o1eh PqbaK4miqGcSIBxYv8y5fnFlBtnF2mpx6+JKiNYyHK5v.oeqnsvHjJ5E3fKb mimCCcMqtADcKHa1a1ey342MclxXSoSF+lPm7EkNkMjOIjDktFzDihzqg9BM PbDMz0adzRAedVpl+wORGc8GoyxtPCRiPqD1GTDXKrH3RuInZXoAhZGQKrmw IdN4GRxKOwqISRBFCuSTW2ByEehO9wpSiCnE1MB+rpaxhTvhk4jyjTWKOyqs QoWg1F+uZ6RVtpULXFtirCfZaJF4fD+xrGyutY796u.VzVWVimeYr7aB+xW7 TmpVnPOLRqu8EwKZUqsdBO45qYMCuG+ef2kvusS0b2B+kySPSkpUo86yn0ay iS4aWgI+NyD2CZ9xdcdp+BXxx4oLD.ObQq4Q4a3uBoKTqjYEkQudWlG6A+TP oq7utiPzyHNi1wyv64YbT8h8+IpjjIKioWj71hxDI.GMsnu+APOHTRTEbZfU At2SDYqPS6.0mOeQ0vChw3yCcn8b3ewYX3Hw -----------end_max5_patcher-----------
Oh, and I nearly forgot: I’d've liked to create the kind of hint you get with official objects when you pass the mouse over its in- and outputs (you know, those flashy explanations in dark gray bubbles). I only found the hints and annotations in the inspector window, but they’re less cool. As you can see in the patch above, I tried to imitate those hints with bubble comments, but they’re static. So, is it possible to create those hints also for your personal objects?
Ok, I answer myself at least the last question (maybe it’s useful for somebody else): it’s possible to have comments on in- and outlets of abstractions. You have to open the actual abstraction, click on an in- or outlet and then open the inspector. There you can add a comment. That’s nice!
ok, thanks! But this answer seems as if other content containing objects, maybe [coll], [histo], or [funbuff] would eventually share their contents if used inside an abstraction. Is there something I (and surely other users) should know?
I see ! Thank you for this info.