[oclug] PWARS/FORTRAN
dean linford
dlinford at vcn.bc.ca
Sat Aug 18 10:57:46 EDT 2001
Milan Budimirovic oclug at lists.oclug.on.ca wrote:
>The last I used FORTRAN 77, it had a "READ" function.
The only other thing is for reading sense switches. ;-)
Still there, I hear, though switches are hard to come by.
It's an interesting question. I assume they'd treat it
like a device, though it could be as an array like C.
Both would be cool, unless there's standard support for
doing the formatting conversions in modern FORTRAN.
>Just out of curiosity, where does one get a FORTRAN compiler for Linux?
g77 is what it's called. I've not used FORTRAN since cards.
[dlinford at blue dlinford]$ rpm -q --file /usr/bin/g77
egcs-g77-1.1.2-30
>Bart Trojanowski wrote:
>>
>> For those that speak FORTRAN: how do I pass the command line parameter
>> to the executable? As in:
>>
>> ./primes 10000
>>
>> How do I get the 10000 into an integer.
More information about the OCLUG
mailing list