Whys it causing a memory leak? (types and lists)

BlitzMax Forums/BlitzMax Beginners Area/Whys it causing a memory leak? (types and lists)

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.

Hi,

I think integer handles are good for beginners, and that's why they're in there. eg...

player=LoadImage( "player.png" )

...is easier to get to grips with than...

player:TImage=LoadImage( "player.png" )

Maybe not to experienced programmers, but I try to send my mind back to when I was learning stuff, and having to know both types and functions is just extra work if you're starting out - esp. with a procedural interface.


In fact, you can pretty much remove all Releases and =Nulls from all the code I've seen posted here to date!



Sorry - unclear again! I meant Release when used *with objects*, which a lot of people have been doing.