Return Name ?

BlitzMax Forums/BlitzMax Beginners Area/Return Name ?

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.

Assuming createBitmap returns a Bitmap object:
Function bitmap:Bitmap()
  return createbitmap()
End Function

Local a:Bitmap = bitmap() ' This is not like bitmap(a) at all
However your 'bitmap' function seems to be redundant, why not just call createBitmap from the start?