Deleting types

Blitz3D Forums/Blitz3D Programming/Deleting types

Hi again,
I have the following type
MyType

  field A.TypeA
  field B.TypeB

end type

global AnInstance MyType
.
.
.

When I want to delete the AnInstance variable do I have to delete manually the A and B or not?
Function MyTypeDelete(v.MyType)

  delete v

end function

or
Function MyTypeDelete(v.MyType)

  delete v\A
  delete v\B
  delete v

end function


thanks