2.3 KiB
2.3 KiB
a collection of examples for ob-fortran tests
variable resolution
write (*, '(i2)') N
Define for preprocessed fortran
implicit none
write (*, '(i2)') N
write (*, '(a4)') s
matrix
Real matrix as input
0.0 | 42.0 |
0.0 | 0.0 |
0.0 | 0.0 |
0.0 | 0.0 | 0.0 |
0.0 | 0.0 | 42.0 |
write (*, '(i2)'), nint(s(1,2))
write (*, '(i2)'), nint(s(2,3))