Sending a type to a function

Blitz3D Forums/Blitz3D Beginners Area/Sending a type to 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.

I want to send a type to a function and change some values and then send the type back to be caught by the same type

Ex.

type1 = function(type1)

I am getting an "Illegal Type Conversion" error. Can you not send types to functions.