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,7d502cbc6396bf1f,start X-Google-Attributes: gid103376,public From: "David Akister" Subject: Universal Integer in TO_ADDRESS call Date: 1999/05/29 Message-ID: <375004b1@news.compd.com>#1/1 X-Deja-AN: 483473531 X-NNTP-Posting-Host: [193.195.213.129]:193.195.213.129 X-Original-NNTP-Posting-Host: 193.195.210.8 X-Trace: news.demon.co.uk 927991006 nnrp-12:25338 NO-IDENT [193.195.213.129]:193.195.213.129 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-05-29T00:00:00+00:00 List-Id: I am trying to do a TO_ADDRESS type conversion while using XDADA. The two parameter types supported by the compiler are {universal integer} and ADDRESS_INT. ADDRESS_INT is too short to be used and universal integer relies on the parameter being a named-number. The existing code uses named numbers as constants without types in the declaration. They of course adopt the universal integer and everything is fine. I need to modify the code and add offsets taken from an array to this value and the compiler doesn't like it because the parameter is no longer of type universal-integer. The way I understand it is that universal integer applies to named-numbers only. Is it possible to declare any array of constants which will adopt the universal integer type ? Or can anyone help with an alternative ? Any help much appreciated Dave Akister