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,782af4edeb84c4b7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.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: basic basic ada question Date: Fri, 20 Oct 2006 11:27:18 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1161268231.345231.242170@m73g2000cwd.googlegroups.com> <4537bc65_1@newsfeed.slurp.net> <5567b72ia0c9$.1b6yl0tpfscj5$.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1161358039 25602 192.74.137.71 (20 Oct 2006 15:27:19 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 20 Oct 2006 15:27:19 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:tdg3C9YvZRnupo5YjZmUNCtuaF8= Xref: g2news2.google.com comp.lang.ada:7080 Date: 2006-10-20T11:27:18-04:00 List-Id: "Dmitry A. Kazakov" writes: > Exactly! Because wether Argument (I) is a function call, array indexing, > conversion, that is an implementation detail for the reader. That argument would be more convincing if arrays and functions had the same semantics. E.g., "X := F(Y);" can have side effects if F is a function, but not if F is an array. And "F(Z) := ..." might or might not make sense. - Bob