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

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

Add comments for fortran examples

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

  • Property mode set to 100644
File size: 196 bytes
RevLine 
[b7a3ce6]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
8
9
Note: See TracBrowser for help on using the repository browser.