Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
There are actually two circumstances when %Include directives are executed:
At compile time. As a consequence, the compiled agent code does contain any code that was inserted via %Include directives. The included source code files are not needed to execute the agent code.
When an agent is executed under debugger control. LotusScript then tries to access the source code contained in any included files in order to present that source code in the debugger. An error occurs in case an included file is not present at the time when the relevant agent is executed in the debugger.
It seems that the documentation correctly reflects the first part, while the second part is missing.