Hi Bill,
**please** don't feel offended by this reply, but I think that before trying
to accomplish what you describe, you should have a reasonable understanding
of what OOP is, and what it is *not*. Many people get trapped by RAD-tools
(Delphi ,VC++, VB) all the time, because making the user interface goes so
wonderfully fast & easy, but then.... it suddenly stops. Code must be
written to make the app do something _useful_ . Then, frustration follows...
Most of the people in these friendly Delphi newsgroups will go at great
lengths to help anyone out with his/her problem, but you must do some of the
footwork yourself.
Try to study OOP with a simple TObject with some simple datafields, some
simple methods , and *play* with it. Study the books that come with Delphi.
They are incomplete and don't go into great depth, but as a starting point,
they are very reasonable, and contain many useful examples. Also, study the
demos that come with Delphi.
Then, if you have a specific problem, post it here again, you *will* get
answers!
Best regards & good luck!
--
Dirk Claessens
_____________________________________________
Office : <dirk.claessens...@belgium.agfa.com>
Home : <dirk.claess...@village.uunet.be>
_____________________________________________
Quote
Bill wrote in message <34aab735.60653...@news.rytebyte.com>...
|
|I'm new to Delphi and I've got what I consider to be a simple OO
|problem, but for the life of me, I can't figure out a simple way of
|programming it in Delphi. I want an object that will do perform a
|service using itself and another object passed to it, and return a
|result that is another object of the same type.
[snip]
|The only way I can see for the doit function to return an object is
|for it to create a new object and return it. But then I can't figure
|out how to free it in the case of concatenating the function call.
[snip]