include element

The include element lists other script files containing elements to be used in the current script.

Syntax

<include includename>
/ file = "path"
/ file = "path"
/ file = "path"
</include>

Properties

None.

Remarks

The include element provides a convenient way to reuse elements such as stimuli or instruction pages in multiple scripts. Rather than copying the elements into every script, the elements can be defined in a separate file and referenced via the include element. All files listed in the include element are effectively pasted into the current script file when Inquisit parses the script.

Examples

The following includes stimuli and instruction pages defined in separate script files.

<include>
/ file = "c:\shared elements\stimuli.exp"
/ file = "c:\shared elements\instructions.exp"
</include>


Send comments on this topic.
1999-2006 Millisecond Software, LLC. All rights reserved.