Hello list,
My assumption is that the CleanupStack exists until the program exits.
So, would it be correct to assume that if an object is pushed on to the CleanupStack from one routine, it can be popped and destroyed in another routine, perhaps in a different file? This is assuming that the programmer is sure that what is popped and destroyed from the CleanupStack in a different routine, is the same object that was pushed on to the CleanupStack from the previous routine?
Appreciate your comments.
TIA
Vin



