up Inquisit Language Reference

start function

Starts a clock in timer or stopwatch mode that has been paused.

Member of

<clock>

Syntax

clock.name.start()

Return Type

none

Parameters

None.

Remarks

The start function restarts a clock in timer or stopwatch mode that has been paused using the pause() function. The actual start time is when the clock is next presented on a give trial. Unless a clock has been paused, it will automatically start when it is presented, so this function need only be called to restart a paused clock.

Calling start() on a clock that has not been paused has no effect.

Examples

The following restarts a stopwatch:

<trial myTrial>
/ onTrialEnd= [clock.timespent.start();]
</trial>

The following restarts a timer:

<trial myTrial>
/ onTrialEnd= [clock.timeremaining.start();]
</trial>

Copyright Millisecond Software, LLC. All rights reserved.