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,f9cd205deb0d77f2 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: How can I qualify the predefined logical operations Date: 1998/07/16 Message-ID: <6ol05m$h18$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 372000700 References: <6okcnl$n93$1@nnrp1.dejanews.com> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jul 16 13:45:26 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT; Gateway2000) Date: 1998-07-16T00:00:00+00:00 List-Id: 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