source: CIVL/examples/fortran/badExamples/badIndexOutOfBound.f@ aaa9c8d

1.23 2.0 main test-branch
Last change on this file since aaa9c8d was 3e4df15, checked in by Wenhao Wu <wuwenhao@…>, 10 years ago

fix the format of BadIndex Fortran example

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@3650 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
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.