PDA

View Full Version : Setting a Class STACK = nothing?



mud2
04-18-2006, 10:16 AM
In a Class Stack, after an instance of that stack has been popped until it is empty, can I get the class to set the instance to "nothing"? Or must the program that used the instance of the stack set it to nothing? I'd rather have the class itself do the setting...therebye removing the choice from the setting program.

XLGibbs
04-27-2006, 05:20 PM
I don't think the class instance can set itself to nothing. It would have to be set to nothing by the initiating procedure or program that created the instance.