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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8f513ebf6208d431 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: "recursive" accept statement ?? Date: 1998/12/15 Message-ID: <755sbg$80n$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 422490253 References: <1998Dec15.122957@lri.fr> X-Http-Proxy: 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Dec 15 14:39:44 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1998-12-15T00:00:00+00:00 List-Id: In article <1998Dec15.122957@lri.fr>, fv@lri.fr (Frederic Voisin) wrote: > I have trouble understanding the behavior of the following program (or > the rationale > for allowing its behavior, if correct): > ------------------------------------- > with Ada.text_io ; use Ada.text_io ; > Ada.text_io.put(str); -- works fine > Put(Str); -- behave like trace.Put(str) ???? > > If allowed, what is the rationale behind, since such construct is much > error-proned Some would say that doing a "use" is error prone, and that was the source of your problem. :-) -- T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own