Access memory as a 1-, 2- or 3-dimensional array.
Access memory as a 1-, 2- or 3-dimensional array. This sets an element within dynamically allocated memory.
The memory can be accessed as a 1, 2 or 3 dimensional array, depending in the settings of ASpec.
The data pointer in the ASpec structure is of type 'long', which means that the value may have to be 'type cast'.
Setting data will be more complex if a finer resolution is required. For the moment this will be up to the user to sort out.