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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7d502cbc6396bf1f X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Universal Integer in TO_ADDRESS call Date: 1999/05/30 Message-ID: <7iqblm$30j$1@nnrp1.deja.com>#1/1 X-Deja-AN: 483625231 References: <375004b1@news.compd.com> <01beaa3e$0e05fbc0$9b2bb6c7@alesia> X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 166.72.82.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Sun May 30 03:35:18 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-05-30T00:00:00+00:00 List-Id: In article <01beaa3e$0e05fbc0$9b2bb6c7@alesia>, "Vincent P. Amiot" wrote: > the 'conversion' to universal integer is as follows: > > Integer'Pos (X) > > Hope it pulls the trick for you ;-) ... > > Regards > > Vincent Amiot / Aonix Right, I missed this possibility, but Vincent is absolutely right, this should work. It is very peculiar code, hard to imagine any normal Ada situation where one would want this conversion, but here it may be just the ticket. Note that you can do this with any integer type. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.