problem with type usage

BlitzMax Forums/BlitzMax Programming/problem with type usage

there is nothing wrong with that. assuming your sprite.jpg exists in the same folder as the sources, it should work.