Global variables means non-object-oriented, non-reusable,
non-understandable, non-maintainable code. Try building a large project
with everything global and find out!

>Hi

Another Newbie question.

What are the pro's and con's of either
passing a parameter to a procedure
versus
setting a global variable that the procedure can read?

Mark
<

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

Reply via email to