manipulation of a reference counte

BlitzMax Forums/BlitzMax Programming/manipulation of a reference counte

you can't set an object to null
it is only released if no more reference exist.

so don't use var ptr or create a handling list for the own defined type from which you remove it manually when it shall be deleted :)