up Inquisit Language Reference

file property

The path of the file.

Member of

<batch>

Syntax

batch.name.file

Read Only

Type

array

Remarks

Returns an array containing all the files specified for a batch or include element. Array starts at index 0.

Examples

The following code demonstrates how to store the path of the first script in batch file into 'parameters.firstScriptPath'

<batch main>
/ file = "script1.iqjs"
/ file = "script2.iqjs"
/ onScriptBegin = {
  parameters.firstScriptPath = batch.main.file[0];
}
</batch>

Copyright Millisecond Software, LLC. All rights reserved.