doubt with types

Blitz3D Forums/Blitz3D Beginners Area/doubt with types

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 have a doubt.

--------------------------
Type OrionSound
Field agua.dibSound
...
End Type
g_OrionSound.OrionSound = New OrionSound

; In this function modify "dibSoundUse"
dibSoundLoad( "motor\sounds\agua.wav", False, True )

; is my doubt
g_OrionSound\agua = dibSoundUse
-------------------------------

copy type or copy handle?

and other:
- cant return a type from function
- cant insert a dim in a type

thanks