comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: How can I qualify the predefined logical operations
Date: 1998/07/16
Date: 1998-07-16T00:00:00+00:00	[thread overview]
Message-ID: <6ol05m$h18$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 6okcnl$n93$1@nnrp1.dejanews.com

In article <6okcnl$n93$1@nnrp1.dejanews.com>,
  hoyngj@my-dejanews.com wrote:
> I have the following problem, when trying to implement a function "and".
>
> -- I want to implement Some_Package."And" using the predefined logical
> -- operation "And" for any one-dimensional array type whose components
> -- are of a boolean type.

Uhhh, there's no need to do this. Its already there.

Excerpt from LRM 3.6.2 (15)  (Note 47):
The predefined operations of an array type include ... For a one-dimensional
array type, ... if the component type is boolean, the predefined logical
operators are also included.

Try it out. It works.

T.E.D.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




  parent reply	other threads:[~1998-07-16  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-16  0:00 How can I qualify the predefined logical operations hoyngj
1998-07-16  0:00 ` hoyngj
1998-07-17  0:00   ` Robert Dewar
1998-07-16  0:00 ` Anonymous
1998-07-16  0:00 ` Tucker Taft
1998-07-16  0:00 ` dennison [this message]
1998-07-16  0:00 ` dennison
1998-07-17  0:00 ` Andreas Kalla
1998-07-19  0:00   ` Mats Weber
1998-07-25  0:00 ` 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