Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!sdcsvax!ucsdhub!esosun!seismo!uunet!mcvax!ukc!eagle!trh From: trh@eagle.ukc.ac.uk (T.R.Hopkins) Newsgroups: comp.lang.fortran Subject: entry statements Keywords: fortran 77 Message-ID: <4266@eagle.ukc.ac.uk> Date: 27 Jan 88 18:13:40 GMT Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 19 I want to be able to refer to an external function by two different names without the overhead of duplicated code. The following seems to work on all compilers I've tried REAL FUNCTION NAME1(arg list) REAL NAME2 ENTRY NAME2(same arg list as name1) . . . NAME1 = result END i.e. nowhere do I assign a value to NAME2. Is this legal Fortran 77? I've had a good look through the standard but can't find a ruling either way. Only section 18.2.2 looks sort of hopeful. Can anyone give me chapter and verse either way please?