From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Maine To: help-gcc@gnu.org Subject: Re: date_and_time in g77 Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: References: <38556cab.13773883@localhost> X-SW-Source: 1999-12n/msg00208.html Message-ID: <19991231222400.1-N3Uz5IiiUVfVV5Al_uBTC324nCiOAFppfU9PEjY1E@z> jruth@lci.kent.edu (Jon Ruth) writes: > I'm new to gcc/g77 and would appreciate recommendations on the > following problem.... > character*10 datizn(3) > integer*2 ivalues(8) > call date_and_time(datizn(1),datizn(2),datizn(3),ivalues) > > and received the following error message: > > call date_and_time(datizn(1),datizn(2),datizn(3),ivalues) > ^ > Too many arguments passed to intrinsic `DATE_AND_TIME' at (^) Did this accidentally get reposted? I answered this (and Toon followed up on my answer, so I know it got out) 5 days ago. See the previous answer (which was in comp.lang.fortran only). In short, you got the argument type for ivalues wrong. It should be integer, not integer*2. For the longer version, see my previous post. -- Richard Maine maine@altair.dfrc.nasa.gov