up Inquisit Language Reference

itemprobabilities property

Returns a collection of decimal values representing the probabilities with which the corresponding items in the items collection are randomly selected.

Member of

<list>

Remarks

This is a collection property.

Examples

The following displays the value of the probability with which the second item in a list is presented:

<text sometext>
/ items= ("The probability of <% list.payoffs.items.2 %> is <% list.payoffs.itemprobabilities.2 %>")
</text>

The following displays the value of the first itemprobabilities in an itemprobabilities set:

<itemprobabilities negativeitems>
itemprobabilities = <% itemprobabilities.negativeitems.itemprobabilities.1 %>
</page>

The following displays the value of the first itemprobabilities in a list:

<list rankedpreferences>
itemprobabilities = <% list.rankedpreferences.itemprobabilities.1 %>
</page>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.