Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Calling class method of variable class.
August 18, 2006, 1:06 pm
rate this thread
If I want to call the method a class (not an object), one normally uses:
which works fine.
However, what if I don't know the classname yet?
doesn't work, neither does
I've got solved it like this now:
But I really wonder wether this is a good way to do it.