<repeatForSequence>
<repeatForSequence> is a General Operator
component that performs the requested operations in an iterative manner over the sequence specified.
Its behavior is similar to a for loop in other programming languages.
Attributes and Properties
| Attribute | Type | Values |
|---|---|---|
asList = "…" | "true" "false" | |
exclude = "…" | ||
from = "…" | ||
indexName = "…" | ||
length = "…" | ||
step = "…" | ||
to = "…" | ||
type = "…" | "number" "math" "letters" | |
valueName = "…" |
<repeatForSequence> does not have any properties.
Example: <repeatForSequence> a set of points within a <graph>
A <repeatForSequence> can be used to generate multiple graphical elements at
once when placed within a <graph>.
Example: <repeatForSequence> a user-specified number of inputs
A <repeatForSequence> can be used to generate a user-specified number of <mathInput>
components.
The <repeatForSequence> component generates an array. Individual entries can be accessed
using array notation.
Example: Nested <repeatForSequence> to generate an irregular grid
A <repeatForSequence> can be nested within another <repeatForSequence> to iterate
over a combination of sequences with different ranges and steps.
Example: Generate a user-specified number of random <point> components
A <repeatForSequence> can be used to generate a user-specified number of randomly placed <point> components.