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.6 required=5.0 tests=BAYES_40,CTE_8BIT_MISMATCH, FREEMAIL_FROM,HELO_NO_DOMAIN,MAILING_LIST_MULTI, PP_MIME_FAKE_ASCII_TEXT,RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,af291903d8d84b0c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-15 05:46:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!skynet.be!skynet.be!freenix!enst!enst.fr!not-for-mail From: "Gautier Write-only-address" Newsgroups: comp.lang.ada Subject: Re: What does this statement do? Date: Thu, 15 Nov 2001 13:45:18 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1005831992 81046 137.194.161.2 (15 Nov 2001 13:46:32 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 15 Nov 2001 13:46:32 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Originating-IP: [194.40.39.50] X-OriginalArrivalTime: 15 Nov 2001 13:45:19.0100 (UTC) FILETIME=[C3A943C0:01C16DDB] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:16563 Date: 2001-11-15T13:45:18+00:00 >Question for Ada gurus: In the following program, what should happen >with the statement marked HERE? >(a) Z is set to the value of the local variable N >(b) Func is called recursively, and Z is set to the component N of the > function result >(c) The compiler rejects the statement as ambiguous > > -- thanks, Adam Are you sure there is a possible ambiguity ? You have the right to change the name of one 'N' to check this! Try compiling it (e.g. with the ICC compiler...). ____________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm#Ada NB: Do not answer to sender address, visit the Web site! Ne r�pondez pas � l'exp�diteur, visitez le site ouaibe! _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp