Hi all
My 2 Cents worth...
It would be more useful to think in terms of various degrees of scope rather
than 'local' and 'global'
The answer therefore is to declare a 'variable' (since a property also is a
variable) in the most restrictive scope possible
I think the original question was paramters or 'global' vars - the answer is
parameters always
I'd pose another one 'exceptions' or 'boolean functions'
ie
try
proc1
proc2
except
fail
end
or
fail := false;
if not funct1 then fail := true
if not fail then if not funct2 then fail := true;
....
Neven
---------------------------------------------------------------------------
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"