> Your friend and mine, the Delphi IDE automatically creates a global
variable
> for each form you design.  If they're that bad, why would the IDE create
> them?

The IDE creates them 'cos the Delphi language spec does not allow for class
variables, eg:

type TMyClass = class
  classvar myClass : TMyClass;

so you can't do the singleton model which Delphi uses for this.

And yes, it has been motioned in the beta news groups for around 5 versions,
and its never been implemented. Java has it (amongst almost all other OO
languages) and its REALLY useful.


Nic.

---------------------------------------------------------------------------
    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