source:
CIVL/mods/dev.civl.abc/examples/fortran/f77_standard/implicit.f
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 344 bytes | |
| Line | |
|---|---|
| 1 | program p |
| 2 | implicit integer (x-z), real (i,k-l) |
| 3 | i = 2.5 |
| 4 | k = 2.5 |
| 5 | l = 2.5 |
| 6 | x = 2.5 |
| 7 | y = 2.5 |
| 8 | z = 2.5 |
| 9 | print *, i,k,l,x,y,z |
| 10 | c$ civl assert(i .eq. 2.5) |
| 11 | c$ civl assert(k .eq. 2.5) |
| 12 | c$ civl assert(l .eq. 2.5) |
| 13 | c$ civl assert(x .eq. 2) |
| 14 | c$ civl assert(y .eq. 2) |
| 15 | c$ civl assert(z .eq. 2) |
| 16 | end program |
Note:
See TracBrowser
for help on using the repository browser.
