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,9fb8e2af320d5b3e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Bus error Date: Sat, 30 Jun 2007 15:31:45 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <0367891DA5DA7E408D42A860FA002F44B0CC48@sma2901.cr.eurocopter.corp> <1l4yqvxoid4n1.1u8eo4oo8ml4m$.dlg@40tude.net> <4685280c$0$14869$9b4e6d93@newsspool4.arcor-online.net> <4686432a$0$14873$9b4e6d93@newsspool4.arcor-online.net> <46869b24$0$14879$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1183231906 30128 192.74.137.71 (30 Jun 2007 19:31:46 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 30 Jun 2007 19:31:46 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:npqvzVP8Qq/apgtpKnSM1aExOJ0= Xref: g2news1.google.com comp.lang.ada:16362 Date: 2007-06-30T15:31:45-04:00 List-Id: Georg Bauhaus writes: > Again, this is a wording question I think. I see value in labelling > an object with a name when the language lets me do this (and I don't > want to assign to a local constant). I think compilers really ought to generate identical code for: X3 : String renames Get_Line(Baz, Mode => Frobnicate); and: X3 : constant String := Get_Line(Baz, Mode => Frobnicate); so the choice is purely aesthetic. - Bob