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 18:44:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!beastie.ix.netcom.com!nobody From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Local vs global variables in ADA Date: Wed, 06 Nov 2002 16:30:25 -0800 Organization: >> Leaf-Eating Penguins? << Message-ID: <17ccqa.nk3.ln@beastie.ix.netcom.com> References: <5Ldx9.3695$151.38236@weber.videotron.net> <3DC8585E.5050003@otelco.net> NNTP-Posting-Host: a5.f7.db.67 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Server-Date: 7 Nov 2002 02:44:31 GMT User-Agent: KNode/0.6.1 X-noarchive: yes Xref: archiver1.google.com comp.lang.ada:30499 Date: 2002-11-07T02:44:31+00:00 List-Id: Dan Nagle fed this fish to the penguins on Wednesday 06 November 2002 05:45 am: > 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. > Yeah, but when each such common block is allocated a full page (or whatever size the linker/OS swapper uses) it gets a bit wasteful of memory (the physical memory of my college Sigma-6 was only around 1MByte, and had to support ~50 active user terminals... 50 "global" integers would have taken 25KBytes of memory on page alignments). -- -- > ============================================================== < > wlfraed@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < > wulfraed@dm.net | Bestiaria Support Staff < > ============================================================== < > Bestiaria Home Page: http://www.beastie.dm.net/ < > Home Page: http://www.dm.net/~wulfraed/ <