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-Thread: 103376,34257fd17abeba14 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: [SPARK] Code safety and information hiding References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <7V3Fg.13573$E02.5018@newsb.telia.net> Date: Thu, 17 Aug 2006 20:00:03 GMT NNTP-Posting-Host: 83.250.106.238 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1155844803 83.250.106.238 (Thu, 17 Aug 2006 22:00:03 CEST) NNTP-Posting-Date: Thu, 17 Aug 2006 22:00:03 CEST Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:6250 Date: 2006-08-17T20:00:03+00:00 List-Id: Jeffrey R. Carter wrote: > Maciej Sobczak wrote: >> Agreed. Moreover, SPARK calls "global" even those variables, which are >> actually local in the scope that encloses the definition of the given >> subprogram. Intuitively, "globalness" of some name should not be a >> property of the place where the name is used. > > Those are what I called state variables. Do you call them state variables even when they're local in a subprogram and "global" only to a nested subprogram? -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu