comp.lang.ada
 help / color / mirror / Atom feed
From: "Gautier Write-only-address" <gautier_niouzes@hotmail.com>
Subject: Re: Perform "or" on a scalar type?
Date: Tue, 26 Feb 2002 12:22:32 +0000
Date: 2002-02-26T12:22:32+00:00	[thread overview]
Message-ID: <mailman.1014726182.24245.comp.lang.ada@ada.eu.org> (raw)

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.




             reply	other threads:[~2002-02-26 12:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-26 12:22 Gautier Write-only-address [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-26 10:53 Perform "or" on a scalar type? Verner
2002-02-26 11:40 ` Larry Kilgallen
2002-02-26 16:05 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox