source:
CIVL/mods/dev.civl.com/examples/fortran/badExamples/badIndexOutOfBound.f@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 193 bytes | |
| Line | |
|---|---|
| 1 | PROGRAM TEST |
| 2 | INTEGER N |
| 3 | PARAMETER (N=10) |
| 4 | REAL ARRAY(N) !The index of ARRAY should from 1 to 10. |
| 5 | ARRAY(11) = 1.0 !It uses an index out of the bound. |
| 6 | END |
| 7 |
Note:
See TracBrowser
for help on using the repository browser.
