From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8002154d2966e1a1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-06 05:46:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: Dan Nagle Newsgroups: comp.lang.ada Subject: Re: Local vs global variables in ADA Date: Wed, 06 Nov 2002 08:45:25 -0500 Organization: Purple Sage Computing Solutions, Inc. Message-ID: References: <5Ldx9.3695$151.38236@weber.videotron.net> <3DC8585E.5050003@otelco.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: UmFuZG9tSVaU1ivi2z8Yielj9FFJKHKt80yvEQLnv5TrElU0H1p+s5SCdohULBn2 X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 6 Nov 2002 13:45:26 GMT X-Newsreader: Forte Agent 1.92/32.572 Xref: archiver1.google.com comp.lang.ada:30443 Date: 2002-11-06T13:45:26+00:00 List-Id: Hello, Which, technically, is the only correct way to go... In Fortran, the common name is global, the variable names in the common are local names. Fortran has no global variable names. --=20 Cheers! Dan Nagle Purple Sage Computing Solutions, Inc. On Tue, 05 Nov 2002 18:19:04 -0800, Dennis Lee Bieber wrote: >> > Ooooh... My reference manuals are in storage so I can't check...= Of=20 >course, this was the same compiler that defined a "GLOBAL vars"=20 >statement... Which effectively translated: > > global x, y, m, n, a > >into > > common /x/ x > common /y/ y > common /m/ m > common /n/ n > common /a/ a > >IE, /each/ variable named generated a named common block containing=20 >only that variable, and the common block name matched the variable name.