up Inquisit Language Reference

noreplaceCorrect function

Randomly selects without replacement if a correct response is given and with replacement if an incorrect response is given

Member of

<global>

Syntax

Return Type

value

Parameters

Name Type Description
args array An array of elements or values.

Remarks

Examples

Randomly selects without replacement if a correct response is given and with replacement if an incorrect response is given from a set of values:

noreplacecorrrect(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

noreplacecorrect(0, 2.5, 5, 7.5, 10)

Copyright Millisecond Software, LLC. All rights reserved.