Ive run into a little dilemma of mine here.
I am relativelt new to OO programming, but Ive managed to haul out a class of my own.
Now. All I wanna do is to use one or two of the "methods" in the class i`ve already made, in a new class.
I`ve been using a book for a guided tour into the world of classes, the book explained in detail all I neede to know about OO programming...
The book also started sizzling with a command: "extend class whatever"
This, as I understood it, meant that one could use the "methods" or functions within that motherclass to produce an entirely different output with the new class.
And that is exactly what I want to do.
But. How?
Do I "require" the first class in the new class?
will I have to define the var`s again?
Can some of you brilliant experts help me please?
-trond-