Quote Originally Posted by Nightwalker83 View Post
Ah ok! That was just part of a working code I had on hand and reading his post
following yours he understood what I was trying to say.
You should delete your original post, because all it is doing is causing confusion.

bharanidharanit; you are best off removing the functions from the class and do what you were doing before. If you do not intend to call certain functions then I suggest you separate these into another file too; perhaps group them according to what they do and put each group into a file of its own.

As kows says, it is best not to use objects (classes) unless you know how make them work to your advantage. Otherwise you risk further complicating something that is really quite simple. Please ignore the original reply to this thread.