Posted by Jerry Stuckle on 04/14/06 23:42
Wescotte wrote:
> Can you be more specific? I believe I understand the OO programming and
> how to use classes (and inheritance) but I fail ot see how I can allow
> a class to have the same function name and yet completely different
> code.
>
OK, stop thinking in functions. Think in objects.
Each type of file is a different type of object. Each will have it's own class
to do the processing. And every one of the classes can have the same function
names - but different code.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|