08-22-2018, 02:14 PM
There is no #include, but are several similar options.
If the application always runs in Quick Macros, ie not as separate .exe file, you can:
Create function named "init2", if does not exist. Place the int+, def etc there. Run it. Next time, when QM starts, the function runs automatically. Global variables and constants are available in all macros/functions/etc.
If the application runs as .exe, create a function like described above and call it at the start of application. If the application also runs in QM, call the function from function init2.
See also in QM help: #compile
Quote:I am working on programming an application that uses several macros and functions
If the application always runs in Quick Macros, ie not as separate .exe file, you can:
Create function named "init2", if does not exist. Place the int+, def etc there. Run it. Next time, when QM starts, the function runs automatically. Global variables and constants are available in all macros/functions/etc.
If the application runs as .exe, create a function like described above and call it at the start of application. If the application also runs in QM, call the function from function init2.
See also in QM help: #compile