First BMax program

BlitzMax Forums/BlitzMax Beginners Area/First BMax program

Actually, it's not necessary to specify imagen as type:Timage. If not specified as a Timage, it will simply be treated as a handle to that image.

The problem is, you then need to explicitly call Release on the image when you are done with it or it won't be cleaned up until the program ends.

It's definitely wisest to just specify all images as a Timage.