problem with type usage

BlitzMax Forums/BlitzMax Programming/problem with type usage

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.

"unhandled exception: attempt to access field or method of null object"
then it highlights the drawimage line. I did a drawrect line as follows,
drawrect player.x,player.y,50,50
and it works fine.