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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,545551cf46d41dea X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.germany.com!newsfeed.stueberl.de!proxad.net!cleanfeed3-b.proxad.net!nnrp4-2.free.fr!not-for-mail Return-Path: In-Reply-To: <1154465002.9271.1.camel@localhost.localdomain> References: <87zmeobwtd.fsf@willow.rfc1149.net> <1154465002.9271.1.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit From: Javier Miranda Subject: Re: ICFP Programming Contest virtual machine in Ada Date: Tue, 1 Aug 2006 19:28:34 -0400 To: Georg Bauhaus X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ada-france.org Cc: comp.lang.ada@ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.8rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 02 Aug 2006 01:30:47 MEST NNTP-Posting-Host: 88.191.14.223 X-Trace: 1154475047 nnrp4-2.free.fr 17424 88.191.14.223:38733 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:6055 Date: 2006-08-02T01:30:47+02:00 On Aug 1, 2006, at 4:43 PM, Georg Bauhaus wrote: > Alas, this code cannot be compiled with a plain Ada compiler > as it uses non-Ada 'Img (which is brief, though). Considering T the type of the object to which you apply this attribute, this is a GNAT attribute that is equivalent to T'Image (Obj). For example, being V a variable containing an integer value, instead of writing Integer'Image (V) you can just write V'Img. Regards, ---- Javier Miranda