A method for processing a multidimensional array object in which a
multidimensional array is implemented by an array of array objects. The
multidimensional array object comprises array objects which constitute
the multidimensional array. Flags representing that it is possible to
optimize a process for elements of the multidimensional array object are
added as additional information. The flags are stored in a storage device
(main memory for instance). Then, a machine code corresponding to a state
of the flags is executed.