Values in TMaps - Ref Counted?

BlitzMax Forums/BlitzMax Programming/Values in TMaps - Ref Counted?

I have recently rewritten my texture management system, and I hit a snag with reference counting, but decided that I would carry on and fix that later. However, when I ran it, it appears to be working, and it really shouldn't work unless Values in TMaps are not reference counted. I could just leave it alone since it works, but then it might turn out to be a little BMax bug that gets fixed, so I really ought to figure out what's wrong ( or right :/ ) and rewrite it properly. Values in TMaps really should be reference counted, right? Because otherwise, an object which only existed in a TMap would be collected and then everything would go wrong.