Here's another problem - when running my code I am getting an access violation. The problem is that this is occurring after the program has reached the END PROGRAM statement. Since this is not occurring on any executable line in the program, there is no way I can debug the cause of the problem, such as putting in print statements in the code. I have tried setting this up as a console application and also as a QuickWin application, but get the same result. Anyone out there ever encounter this problem, and, if so, any suggestions on tracking this down?
For more complete information about compiler optimizations, see our Optimization Notice.