I am planning to create a program that will use a big array of constant data when it executes. The obvious thing to do is read the data from a file, but I'm wondering if there is a way to read the data in during the compilation and store it with the executable code. Obviously this could be achieved by a DATA statement, but for a big multidimensional array it is a bit cumbersome. I'm pretty sure the answer is that there is no alternative to the DATA statement, but maybe there is something I don't know about.
For more complete information about compiler optimizations, see our Optimization Notice.