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,74b958f114ec4924 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "news.broadpark.no" Newsgroups: comp.lang.ada References: <47d6ae9b$1@news.broadpark.no> In-Reply-To: Subject: Re: Type convertion Date: Tue, 11 Mar 2008 21:53:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 NNTP-Posting-Host: 223.80-202-137.nextgentel.com X-Original-NNTP-Posting-Host: 223.80-202-137.nextgentel.com Message-ID: <47d6f0e0@news.broadpark.no> X-Trace: news.broadpark.no 1205268704 80.202.137.223 (11 Mar 2008 21:51:44 +0100) Path: g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!news.broadpark.no!not-for-mail Xref: g2news1.google.com comp.lang.ada:20303 Date: 2008-03-11T21:53:19+01:00 List-Id: "Jeffrey R. Carter" wrote in message news:XszBj.71283$yE1.45295@attbi_s21... > news.broadpark.no wrote: >> >> - Is it possible to covert a Boolean to Integer in an easy way >> - Is it possible to covert an enum to Integer in an easy way > > Take a look at the 'Pos attribute, and its inverse, 'Val. > Works fine. Thank you! Eirik