Range Replicator

Description

A construct that replicates its contents (textually) at parse time. Each replication assigns a different, sequential value to the specified variable (similar to a for loop). This can be used, for example, to generate a separate Trial for each element in a Stimulus Group by using the replicator variable as the index in to the group.

Signature

range_replicator

Required Parameters

variable

Replicator variable. The variable must have local scope.

from

First value assigned to variable

to

Replication stops when variable is greater than this value

step

Amount by which to increment the value of variable after each replication. Must be greater than zero.

Placement

Allowed at top level:

Yes

Allowed parent:

Block, Experiment, Folder, Frame List Stimulus, List, List Replicator, Movie Stimulus, Protocol, Range Replicator, Stimulus Group, Trial

Allowed children:

Block, List, List Replicator, Protocol, Range Replicator, Sound Stimulus, Stimulus, Stimulus Group, Trial