[fpc-pascal] methods of an object to create others objects
Reimar Grabowski
reimgrab at web.de
Tue Jul 6 19:04:10 CEST 2010
On Tue, 6 Jul 2010 12:05:36 -0300
Marcos Douglas <md at delfire.net> wrote:
> We talk about just *functions* or we talk about *methods* too?
It is meant for 'method functions', too. But I don't follow that rule strictly and try to use a descriptive name that indicates that a function effects something outside its scope.
> I agree with you, but in part... If a *function* should only return a
> value then, what do a *procedure*? What are the good pratice for
> procedures?
Good naming and do what you like.
R.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
More information about the fpc-pascal
mailing list