up Inquisit Language Reference

appenditem function

Inserts the item at the specified index.

Member of

<html>

<list>

<picture>

<port>

<sound>

<text>

<video>

<xid>

Syntax

element.name.appenditem(value)

Parameters

Name Type Description
value any The value for the item.

Examples

The following adds an item to the end of the item list of a text stimulus:

<trial sometrial>
/ ontrialend= [text.sometext.appenditem("Hello world!");]
</trial>

The following adds an item to the end of the item list of a list:

<trial sometrial>
/ ontrialend= [list.importantthings.appenditem(values.newvalue);]
</trial>

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