your are loading an image in a loop which would explain mem leak, but which is also extremely bad practice.
Also what version of blitzmax are you running... you should make sure your have the latest version which is 1.18
. A link can be found at the top of the forum page.
oh and i think it should be '= Null' and not '= 0'
Also what version of blitzmax are you running... you should make sure your have the latest version which is 1.18
. A link can be found at the top of the forum page.
oh and i think it should be '= Null' and not '= 0'