James, you can declare variables in the Implementation section of a unit and
assuming that there is only one class in the unit, it should behave like a
static variable - ie. one instance per class.

John

-----Original Message-----
From: James Sugrue [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 26 July 2001 12:44 pm
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/

Reply via email to