up Inquisit Language Reference

countryCode property

The two letter ISO 3166 country code of the default user locale.

Member of

<computer>

Syntax

computer.name.countryCode

Read Only

Type

string

Remarks

This property indicates the country code of the current computer user (for example, "US" for United States, "GB" for Great Britian). See the ISO 3166 standard for a complete list of country codes.

Examples

The following displays the countryCode in a text stimulus:

<text myText>
/ items= ("correct = <% computer.countryCode %>")
</text>

The following displays the countryCode in an instruction page:

<page myPage>
correct = <% computer.countryCode %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.