Variable type in function call

BlitzMax Forums/BlitzMax Programming/Variable type in function call

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.

But you can build your own type:
Type Myobject
   Field TC:Tcolor
   Field piRed:int
End type

Then you can return or pass myobject to/from a function.