Return value from a function

Blitz3D Forums/Blitz3D Beginners Area/Return value from a function

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.

Yes, just use 'return mesh' to pass the mesh handle back to the caller. You don't need to specify a return type in the function name as blitz functions return integers by default, and mesh handles are integers.