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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,208279d79d40e7d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-26 17:07:07 PST From: "Anisimkov" Newsgroups: comp.lang.ada Subject: Re: Ada Advocacy. Date: Wed, 27 Aug 2003 06:44:23 +0600 Organization: A poorly-installed InterNetNews site Distribution: world Message-ID: References: NNTP-Posting-Host: 195.162.54.9 X-Trace: ns.omskelecom.ru 1061940531 15532 195.162.54.9 (26 Aug 2003 23:28:52 GMT) X-Complaints-To: usenet@ns.omskelecom.ru NNTP-Posting-Date: Tue, 26 Aug 2003 23:28:51 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!news-raspail.gip.net!news.gsl.net!gip.net!news.rosprint.net!radius!not-for-mail Xref: archiver1.google.com comp.lang.ada:41874 Date: 2003-08-27T06:44:23+06:00 List-Id: "Luke A. Guest" wrote in message > That's a damn nice debugging feature. It's been a while but I think it's > something like > > declare > test : Integer := 5; > begin > -- I'm really unsure about the overloaded + operator here, like I said > -- it's been a while (around 6 years!) > Write test'Name + " = " + test; > end > > should send "test = 5" to the console. Luke, What difference between test'Name and just "test" ? I see test'Name is just longer for a 3 characters. Only goal for Test'Name would be compilation time checking. I do not think that compilation time checking is so necessary for the debug printing. The good Ada feature for the debug purpose is an image of enumeration values. But I do not think that we need image of the object names.