RectangularRepeatingElement

RectangularRepeatingElement[elem]

represents a rectangular array of elements of type spec in an interpreter, API or form specification.

RectangularRepeatingElement[elem,{maxrows,maxcolumns}]

represents a rectangular array of elements of maximum size maxrows×maxcolums.

RectangularRepeatingElement[elem,{{minrows,maxrows},{mincolumns,maxcolumns}}]

represents a rectangular array of elements of dimensions between minrows×mincolumns and maxrows×maxcolums.

Details

Examples

open allclose all

Basic Examples  (3)

Use RectangularRepeatingElement to interpret a matrix of data:

RectangularRepeatingElement fails on data that is not rectangular:

Use it in an APIFunction to collect complex data:

Scope  (2)

The second argument is used to limit the size of the input:

Limit the minimum size of the array:

Properties & Relations  (3)

RectangularRepeatingElement can be used in conjunction with any interpreter specification:

Including RepeatingElement:

And CompoundElement:

Possible Issues  (1)

Constructs like FormFunction and FormPage do not show a special interface for RectangularRepeatingElement:

Use JSON to fill in the fields:

Introduced in 2017
 (11.1)