Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: utzoo!utcsrgv!ray From: ray@utcsrgv.UUCP (Raymond Allen) Newsgroups: net.lang.f77 Subject: Re: f77 bug Message-ID: <3370@utcsrgv.UUCP> Date: Mon, 27-Feb-84 11:44:53 EST Article-I.D.: utcsrgv.3370 Posted: Mon Feb 27 11:44:53 1984 Date-Received: Mon, 27-Feb-84 12:23:42 EST References: <224@astrovax.UUCP> Organization: CSRG, University of Toronto Lines: 22 This is not a bug, FORTRAN protocol insists that the the functions as well as the variables have to be typed, so you need another declaration: COMPLEX CSIN,CCOS added to your program (otherwise FORTRAN assumes that CSIN and CCOS return REAL data type. You might also use the -u option to f77. With this option, any variable or function appearing in the program that is not defined in a type definition statement causes a fatal error. (Note: I did not actually run the corrected program but we use lotsa complex fortran here and it seems to work all right.) from the FORTRAN infested keyboard of: Ray Allen utcsrgv!ray (416) 978-5036