as far as I know sigleton is the methodology which states the mechanizm where ONLY one instance of the certian class is maintained throught the program execution [ April 10, 2005: Message edited by: levani dvalishvili ]
A Singleton is a class that can only be instantiated once, it's an OOP substitute for global variables. There are two basic idioms for this, eager instantiation and lazy instantiation. I'm writing this code from memory, the bugs are left as an exercise for the reader.
[ April 11, 2005: Message edited by: peter wooster ]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus