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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.200.55.177 with SMTP id d46mr4291275qtc.93.1501954049172; Sat, 05 Aug 2017 10:27:29 -0700 (PDT) X-Received: by 10.36.29.144 with SMTP id 138mr199170itj.4.1501954049095; Sat, 05 Aug 2017 10:27:29 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!s6no653950qtc.1!news-out.google.com!196ni3156itl.0!nntp.google.com!u14no621901ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 5 Aug 2017 10:27:28 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.218.37.33; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.218.37.33 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <41be1cc1-7fc3-404f-9593-b7acea3071d5@googlegroups.com> Subject: Re: Convert an access to constant to access to variable From: Stephen Leake Injection-Date: Sat, 05 Aug 2017 17:27:29 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:47614 Date: 2017-08-05T10:27:28-07:00 List-Id: On Friday, August 4, 2017 at 5:17:26 PM UTC-5, Victor Porton wrote: > What is the proper way to convert an access to constant to access to > variable? (Yes, I know that then I need to be careful not to modify this > "variable".) why do you need to do this? Why do you need a variable view of an object, if you promise to treat it as a constant? I can't think of a good reason.