source: CIVL/mods/dev.civl.abc/examples/fortran/f77_standard/do_terminal_stmt.f

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

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

  • Property mode set to 100644
File size: 404 bytes
Line 
1c Fortran 77 Standard Sec. 11.10, DO_Statement
2c Nested loop, separate terminal statements
3 program p
4 implicit none
5 integer i, j, ji, jo, k
6 ji = 0
7 jo = 0
8 do 100, i=1,3
9 jo = jo + 1
10 do 200, k=1,5
11 ji = ji + 1
12 200 continue
13 100 continue
14c$ civl assert(ji==15)
15c$ civl assert(jo==3)
16c$ civl assert(i==4)
17c$ civl assert(k==6)
18 end program
Note: See TracBrowser for help on using the repository browser.