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.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,REPLYTO_WITHOUT_TO_CC, SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5347e7d1cde09e09 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-26 04:23:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Gautier Write-only-address" Newsgroups: comp.lang.ada Subject: Re: Perform "or" on a scalar type? Date: Tue, 26 Feb 2002 12:22:32 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1014726182 31484 137.194.161.2 (26 Feb 2002 12:23:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 26 Feb 2002 12:23:02 +0000 (UTC) Return-Path: X-Originating-IP: [194.40.39.20] X-OriginalArrivalTime: 26 Feb 2002 12:22:33.0244 (UTC) FILETIME=[445405C0:01C1BEC0] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:20454 Date: 2002-02-26T12:22:32+00:00 Verner: >What is the easyiest way to persorm an "or" operation on a >Unsigned_16 and a scalar type? If you want to perform your "or" between u: Unsigned_16 and s: A_scalar_Type, convert to Unsigned_16 where this operator is meaningful and uniquely defined. u or Unsigned_16(s) HTH ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, address on the Web site! _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.