Initialization
- Last UpdatedJan 09, 2024
- 1 minute read
The add-in definitions are loaded from file during Marine startup using the function !!appReadAppDefns(!module is STRING), where !module is the 3-letter identifier for the module.
This creates the global !!appCntrl object, which holds information about the add-ins.
After reading the definitions of all add-ins, !!appCntrl assigns all callbacks to the applications.
For backward compatibility, if an add-in is an application, a directory is specified for the application and the file module\directory\INIT exists, then this file is added as a startup-call. Similarly, if the file module\directory\ISYSTEM exists, it is added as a switch call.