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,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 08 Jun 2010 09:10:47 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4c0decf7$0$6759$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 08 Jun 2010 09:10:47 CEST NNTP-Posting-Host: 69faec03.newsspool3.arcor-online.net X-Trace: DXC=?`g5KX3U=RhOKO]LCQ@0g`McF=Q^Z^V3h4Fo<]lROoRa8kFejVh`JSe5SiiBKdP8j@b8QkOGa X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:12429 Date: 2010-06-08T09:10:47+02:00 List-Id: On 6/8/10 8:43 AM, Martin Krischik wrote: > using local packages to add static variables to > Ada procedures. OTOH, I'd think a static local variable is most useful if and only if two condition are true - there is a single library level procedure operating on the variable, not two (otherwise a package contains both of them), and - the variable's subtype does not depend on the procedure Is this true? Can you give a few use cases?