Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!charon!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.lang.fortran Subject: Re: Fortran vs. C for numerical work (SUMMARY) Message-ID: <2656@charon.cwi.nl> Date: 6 Dec 90 16:11:47 GMT References: <2173@tuvie> <1990Dec3.191100.22176@ariel.unm.edu> <4450@goanna.cs.rmit.oz.au> Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 10 In article <4450@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes: > The question stands: is passing a scalar (D=0) or an array > taking D subscripts to a subprogram expecting an array taking E.ne.D > subscripts legal in standard Fortran 77? Perfectly legal. Note however that the first (pass a scalar when an array is expected) is only valid if the scalar is an array element. -- dik t. winter, cwi, amsterdam, nederland dik@cwi.nl