Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!oddjob!gargoyle!ihnp4!homxb!mtuxo!mtune!codas!killer!richardh From: richardh@killer.UUCP (Richard Hargrove) Newsgroups: comp.lang.fortran Subject: Semantics of local variables Message-ID: <2617@killer.UUCP> Date: 29 Dec 87 23:04:32 GMT Organization: The Unix(R) Connection, Dallas, Texas Lines: 10 Keywords: semantics local variables DATA A quick question for serious FORTRAN user's: do the semantics of initializing a local variable in a DATA statement force the variable to have static scope? That is, can you generally count on the variable retaining its value across calls to the subroutine in which it's defined? I know this is the case for some compilers, but can you count on it generally? F77 and no, I don't have a copy of the standard. thanks, richard hargrove ...{ihnp4|codas|cbosgd}!killer!richardh ---------------------------------------