Result of passing a type?

Blitz3D Forums/Blitz3D Programming/Result of passing a type?

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.

If I have a

instanceOf.myType= new myType

and a

function doStuff(localInstance.myType)
end fucntion

then, when I

doStuff(instanceOf)

does B3D simply create another pointer to the type data already in memory, or does it duplicate all the data in the type?

I'd assume only the pointer, but want to be sure.