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,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4ea0c01838520df4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-25 08:00:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!freenix!enst!enst.fr!not-for-mail From: sk Newsgroups: comp.lang.ada Subject: Re: Read booleans from streams Date: Mon, 25 Mar 2002 10:00:36 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <200203251121.g2PBL9401018@a77.ib.student.liu.se> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1017072004 59404 137.194.161.2 (25 Mar 2002 16:00:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 25 Mar 2002 16:00:04 +0000 (UTC) Return-Path: X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-4.3mdk i686) X-Accept-Language: en 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:21647 Date: 2002-03-25T10:00:36-06:00 Hi, >Actually it were the characters '0', '2' and '7' >that were stored in the file, so it was rather > >0001_1000,0001_1010,0001_1000,0001_1010, > ^ ^ ^ ^ > 0 0 0 0 >0001_1111,0001_1010,0001_1000,0001_1011 > ^ ^ ^ ^ > 1 0 0 1 Yes, stupid me, CHARACTER not byte, doh ! (Kind of lucky that there was any correspondence at all :-). >The only problem is that it seems impossible to state >"for Boolean_Aggregate'Read use Boolean_Aggregate_Read;". Have you tried :- procedure Read_Boolean_Aggregate ( ...); -- SPEC ONLY for Boolean_Aggregate'Read use Boolean_Aggregate_Read;". -- FULL BODY procedure Read_Boolean_Aggregate (...) is begin ... -- ------------------------------------- -- Merge vertically for real address ------------------------------------- s n p @ t . o k i e k c c m -------------------------------------