IWinApplication.Globals

Syntax

Globals: IApplicationGlobals;

Description

The Globals property returns collection of global application variables.

Example

Sub UserProc;
Var
    App: IWinApplication;
    Glob: IApplicationGlobals;
Begin
    App := WinApplication.Instance;
    Glob := App.Globals;
    Glob.Add("Index"123);
    Debug.WriteLine(Glob.Count);
End Sub UserProc;

After executing the example the Index variable that has the 123 value is added to the global variables list.

See also:

IApplication