Pointers

BlitzMax Forums/BlitzMax Beginners Area/Pointers

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.

Image.TImage is not a pointer in the BlitzMax sense, a pointer would be defined as

local myimageptr:TImage ptr

and to pass the actual object reference to DrawImage would require

DrawImage myimageptr[0],x,y