[Lazarus] Some thoughts about the global 'Application' instance.

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Jun 19 13:14:02 CEST 2009


Joost van der Sluis schrieb:

>> We also could create a true Pascal singleton, in an Application.pp unit.
> 
> I'll leave that to the framework-developers. I'll simply add the global
> variable. Then Lazarus could make a Application.pp unit. And I'll add
> them for the different daemon and fcl-web applications.

Application can be either a variable or a unit, but not both.

When Application is a unit, Application.XYZ refers to XYZ in unit 
Application.

DoDi




More information about the Lazarus mailing list