`prev Menu next`

MAT INPUT ☆☆
`MAT INPUT Array`
assigns the data entered from the keyboard to the array.
The elements are written separated by commas in the input line.
When an input line ends with a comma, the input reply is regarded to continue to the next line.
`MAT INPUT array(n)`
changes the upper bound to n, and then inputs, where n is a numeric expression.
`MAT INPUT array(m TO n)`
changes the lower bound and the upper bound, and then inputs, where m and n is numeric expressions.
Similar type of MAT INPUT statements are available for 2 or 3-dimensional arrays.

Let A be a 1-dimensional array.
`MAT INPUT A(?)`
changes the upper bound according to the number of entered numeric values.
The lower bound do not change.
This type of a MAT INPUT statement can apply only to a 1-dimensional array.
`MAT LINE INPUT string_array`
inputs the lines as many as the elements of the array.