fortran.spad line 1193 [edit on github]
SimpleFortranProgram provides a simple model of some FORTRAN subprograms, making it possible to coerce objects of various domains into a FORTRAN subprogram called f
. These can then be translated into legal FORTRAN code.
fortran(fname, ftype, body)
builds an object of type FortranProgramCategory. The three arguments specify the name, the type and the body of the program.