spec

Software for Diffraction

2.3.4. - Arrays



Arrays are formed using square brackets, as in identifier [ expression ] or identifier [ expression ][ expression ]. Both one- and two-dimensional arrays are supported. spec has two kinds of arrays with very different properties: associative arrays and data arrays.