Write a generalized array implementation in PL6. Up to 6 dimensions must be supported using a dope vector in the implementation. Read the array specifications and element values from the files ARRAY310.COMPSCI. The data in this file is arranged as follows:
Each value right justified in a four column field. Read in the above information, set up a dope vector to access the array.
The second portion of the file contains references. Each record is in the following form (each subscript taking four columns).
Read each array reference and verify that the subscript is valid. If it is valid, print the value of the array'element. If it is not
valid, print an appropriate message.