Application Error

Application Error

I'm using CVF6.5a and I got the following error when I tried to execute a program. What does it mean? In fact, I've tried to run the same program under MSFPS4.0 which appeared to be okay. Please help. Thank you

The exception Array bounds exceeded.
(0xc000008c) occued in the application at location 0x00403352

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

It is telling you that you used an array subscript that is not within the defined limit of the array being accessed, for example if you defined an array INTEGER A(10) and accessed A(11) or A(0), etc while the code is executing.

By default I believe CVF IDE has array bounds checking turned on. You can either turn it off (/check:nobounds) or change the code to only access array elements within the defined range. Usually the latter is preferable.

James

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen