source: CIVL/mods/dev.civl.abc/examples/fortran/f77_standard/do_stride.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: 598 bytes
Line 
1c Fortran 77 Standard Sec. 11.10, DO_Statement
2c Loops with strieded counter
3 program p
4 implicit none
5 integer i, j
6
7 j = 0
8 do 100, i=1,18,3
9 j = j + 1
10 100 continue
11c$ civl assert(j==6)
12c$ civl assert(i==19)
13
14 j = 0
15 do 101, i=1,19,3
16 j = j + 1
17 101 continue
18c$ civl assert(i==7)
19c$ civl assert(i==22)
20
21 j = 0
22 do 102, i=1,20,3
23 j = j + 1
24 102 continue
25c$ civl assert(i==7)
26c$ civl assert(i==22)
27
28 j = 0
29 do 103, i=1,21,3
30 j = j + 1
31 103 continue
32c$ civl assert(i==8)
33c$ civl assert(i==22)
34 end program
Note: See TracBrowser for help on using the repository browser.