This is something that has been bugging me for a while, but I don't know the correct answer.
let's say I have a type inside another type, like this
Now when I want to delete the type, I do this
but do I need to delete the sub-type, or can I just use the following?
let's say I have a type inside another type, like this
type vector2 field x# field y# end type type obj field pos.vector2 end type o.obj = new obj o\pos = new vector2 o\pos\x = 1 o\pos\y = 2
Now when I want to delete the type, I do this
delete o\pos delete o
but do I need to delete the sub-type, or can I just use the following?
delete o