Path: utzoo!attcan!uunet!mcsun!hp4nl!nikhefh!t19 From: t19@nikhefh.nikhef.nl (Geert J v Oldenborgh) Newsgroups: comp.lang.fortran Subject: another side effect question Keywords: function, print Message-ID: <968@nikhefh.nikhef.nl> Date: 1 Aug 90 16:42:00 GMT Sender: t19@nikhef.nl (Geert J v Oldenborgh) Organization: Nikhef-H, Amsterdam (the Netherlands). Lines: 18 While on the subject of side effect of functions, is there anything in the (77) standard which prohibits PRINT *,AAP(1.) END REAL FUNCTION AAP(X) PRINT *,'THIS IS AAP' AAP = X END None of the Fortrans I use properly prints this. Yet, I find it a useful construct to remind me which set of functions I am using (of course only printing on the first call). Geert Jan van Oldenborgh oldenborgh@nikhef.nl