Freeing gadgets

BlitzPlus Forums/BlitzPlus Programming/Freeing gadgets

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

After you have freed a gadget, whether you set the variable's value that was holding the handle to zero or not has no impact on anything. However it is useful to set it back to zero after successfully freeing an entity/gadget/object simply so that you have a way of identifying if the entity/gadget/object still exists.

I think you are thinking correctly regarding this.