Xref: utzoo comp.lang.fortran:2374 comp.os.vms:16979 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!silver!templon From: templon@silver.bacs.indiana.edu (jeffrey templon) Newsgroups: comp.lang.fortran,comp.os.vms Subject: Question about variables local to subroutine Keywords: Local variables, subroutines Message-ID: <24891@iuvax.cs.indiana.edu> Date: 23 Aug 89 04:03:33 GMT Reply-To: templon@silver.bacs.indiana.edu (jeffrey templon) Organization: Indiana University, Bloomington Lines: 8 I would like to know one simple (I hope) thing: what happens if you set the value of a variable (local) in a subroutine, exit the subroutine, and come back later? Is it the same value, zero, or worse? I read all TFMs I could find and saw no answer to this one. I am using VAX Fortran, whatever version runs on VMS V4.6. Thanks for any help you can send. Jeff Templon