[comp.lang.fortran] FREE

quan@sol.surv.utas.edu.au (Stephen Quan) (05/31/91)

I have implemented 3 variations of subroutine clarg(str) to get
the command line when calling from a PRIMOS, UNIX or the DOS
environment.  (I am using Lahey Fortran for DOS).

My complete non-standard, but very useful, library consist of :

puts(str)   - write a string with \n suppressed.
puts2(str)  - write a string with \n and trailing spaces suppressed.
putnl(str)  - write a string with \n added.
putnl2(str) - write a string with \n added, no trailing spaces.
clarg(str)  - read the command line.
getdat(dd,mm,yy) - get the date in integers.
gettim(hh,mm,ss) - get the time in integers.

A standard interface (for 3 machines at least) for non-standard
operations!  Mail NOW for your copies of sunlib.f prlib.f77 pclib.for
libraries, for your once only very low price of $0.00!

If anybody knows how to do any of the above in other machines, I
would like to know.  (DEC-VAX?, PC-MICROSOFT?).  I wouldn't mind
constructing a set of routines of "solved"-fortran problems, for
a number of platforms.  (Perhaps call it the comp.lang.fortran
database? - just a thought.)

--
quan@sol.surv.utas.edu.au (Stephen Quan)
Department of Surveying,
University of Tasmania,
Australia.
--
quan@sol.surv.utas.edu.au (Stephen Quan)