logo SmartSurvey / Scripting Docs
Back to Docs
Directive
*INCLUDE Flow

Inserts the contents of another .q file at the current position in the script. Use to modularise large questionnaires or share common question blocks across multiple surveys.

Usage
script definition (.q)
*INCLUDE 'common_demographics.q'
The file path is relative to the main script file location.
Avoid circular includes. The included file must not *INCLUDE its parent.