Add FORTRAN and Forth samples.

This commit is contained in:
Lars Brinkhoff
2013-08-24 11:32:55 +02:00
parent dc373fb51f
commit 4cefaf2808
7 changed files with 856 additions and 0 deletions

25
samples/FORTRAN/sample1.F Normal file
View File

@@ -0,0 +1,25 @@
c comment
* comment
program main
end
subroutine foo( i, x, b )
INTEGER i
REAL x
LOGICAL b
if( i.ne.0 ) then
call bar( -i )
end if
return
end
double complex function baz()
baz = (0.0d0,0.0d0)
return
end