Initial Context (Magic xpa 4.x)
When the Main Program of a foreground project is executed initially, it initializes a context, which will be given a constant name: “main”.
This context will remain open until the project closes.
When this context is closed, all running SDI contexts, for this project, will also close. If this context is aborted, the project will close.
External events and requests are handled in this context.
This context is only relevant for an MDI project.
The Initiate Main Program task property governs how the Main Program of the new context is initialized.