Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!bbn!mit-eddie!genrad!decvax!ima!esegue!johnl From: johnl@esegue.uucp (John Levine) Newsgroups: comp.lang.fortran Subject: Re: fortran statement Summary: RTFM Message-ID: <1989Jul31.155626.1835@esegue.uucp> Date: 31 Jul 89 15:56:26 GMT References: <28605@beta.lanl.gov> <588BLUMBERG@BGUVM> <10632@smoke.BRL.MIL> Reply-To: johnl@esegue.UUCP (John Levine) Followup-To: alt.flame Organization: Segue Software, Cambridge MA Lines: 23 In article <10632@smoke.BRL.MIL> chidsey@brl.arpa (Irving Chidsey (INF) ) writes: >In article <588BLUMBERG@BGUVM> BLUMBERG@BGUVM.BITNET (Dan Blumberg, Dept. Of Geog. Ben Gurion Univ. Israel) writes: >Sorry, but mod( n, 2 ) is almost certainly Fortran for N modulo 2, which is >mathematics for n/2 with no fractional part. >I don't thinkit is standard fortran, but it is common fortran. Oh, for heavens' sakes. MOD is the intrisic integer remainder function and has been since about 1957 (when it was sometimes called MODF.) I have never seen a version of Fortran that doesn't have it, including the original Fortran I. If you have a simple question like this, it would be a kindness to the 200,000 people on the net if you spent a few minutes looking it up, rather than blatting it all over the world. (Not having a manual is no excuse -- it's certainly quicker to go out and find one than wait for the net to answer.) Grouchily, -- John R. Levine, Segue Software, POB 349, Cambridge MA 02238, +1 617 492 3869 {ima|lotus}!esegue!johnl, johnl@ima.isc.com, Levine@YALE.something Massachusetts has 64 licensed drivers who are over 100 years old. -The Globe