Dunno how C does it, but you can (apparently) declare a variable in the
procedures const section:
procedure Dowhatever;
const
MyVariable : Integer = 0;
begin
Inc(MyVariable);
end;
-----Original Message-----
From: James Sugrue [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 14:44
To: Multiple recipients of list delphi
Subject: [DUG]: Static Vars
I should know this one but, does OP have an equivalent to C's static type ?
---------------------------------------------------------------------------
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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/