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.