up Inquisit Language Reference

reset function

Resets an element to its original state when the script was first parsed.

Member of

<item><list>

Syntax

object.name.reset()

Return Type

none

Parameters

None.

Remarks

The reset function resets all attributes of an element the original values when the script was parsed. If the script specified a set of static items for the list, list will be reset to those static items.

Examples

The following resets the items from a text stimulus:

<trial myTrial>
/ onTrialEnd= [item.targets.reset();]
</trial>

The following resets the items from the selection pool of a list:

<trial myTrial>
/ onTrialEnd= [list.options.reset();]
</trial>

Copyright Millisecond Software, LLC. All rights reserved.