If I create a custom type in a function, and only need it for that function, I use Delete to get rid of it and free up that memory, yes?
What if I need to return that type? For example, a function that populates a type with data and returns the type for use. I can't use Delete before Return, and surely the Return will leave the function and so I can't execute any successive statements.
Can they be deleted, or am I stuck?
What if I need to return that type? For example, a function that populates a type with data and returns the type for use. I can't use Delete before Return, and surely the Return will leave the function and so I can't execute any successive statements.
Can they be deleted, or am I stuck?