Next: Modifying LONGLIB to
Up: Machine Dependence
Previous: FORTRAN
The C language port was made with the assistance of F2C. The C code
consists of a mixture of ANSII C and traditional C. It has been successfully
compiled and run using VAX C, GNU C, and HP C.
The documentation given below is for the FORTRAN version of the software. For
the C version:
- Routine names end with an underbar, e.g., the routine
CALL PLOT(x,y,i) is called as plot_(&x,&y,&i).
- All parameters are passed by reference (address).
- FORTRAN CHARACTER variables are replaced with C strings.
- FORTRAN BYTE or INTEGER*1 variables are replaced with C char variables.
An include ``my.h'' is used to specify the type ``integer'' as an ``int''.
David Long
Wed Jun 12 10:34:11 MDT 1996