From: sk <noname@myob.com>
Subject: Re: Read booleans from streams
Date: Mon, 25 Mar 2002 10:00:36 -0600
Date: 2002-03-25T10:00:36-06:00 [thread overview]
Message-ID: <mailman.1017072004.5129.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 200203251121.g2PBL9401018@a77.ib.student.liu.se
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
-------------------------------------
next prev parent reply other threads:[~2002-03-25 16:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-24 23:18 Read booleans from streams Erik Sigra
2002-03-25 3:57 ` Eric G. Miller
2002-03-25 11:21 ` Erik Sigra
[not found] ` <200203251121.g2PBL9401018@a77.ib.student.liu.se>
2002-03-25 16:00 ` sk [this message]
[not found] <200203242318.g2ONIkc12876@a77.ib.student.liu.se>
2002-03-25 2:05 ` sk
[not found] ` <3C9E85F6.8EDF3AAD@myob.com>
2002-03-25 10:46 ` Erik Sigra
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox