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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8af7fe40dc0a55ae X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.germany.com!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 16 Jan 2009 18:34:40 +0100 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Restarting Tread: Why isn't this program working with Unchecked_Converstion References: <83d19cd8-71ca-43c1-a3eb-05832290e565@r36g2000prf.googlegroups.com> <40239b21-b265-467f-9b27-5890fb2f4c67@w1g2000prm.googlegroups.com> <5df15a77-b654-41da-bea0-a799f4cb6230@v13g2000yqm.googlegroups.com> <9069fcf7-4257-4439-ad4a-8d7c8c17f5cf@v5g2000pre.googlegroups.com> <70172b19-360c-4eba-815c-ede747c3bcdf@w39g2000prb.googlegroups.com> In-Reply-To: <70172b19-360c-4eba-815c-ede747c3bcdf@w39g2000prb.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4970c530$0$31879$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 16 Jan 2009 18:34:41 CET NNTP-Posting-Host: 9ecad235.newsspool3.arcor-online.net X-Trace: DXC=4GP6Y_CJlTC@k=MdN::NBIMcF=Q^Z^V3H4Fo<]lROoRA^YC2XCjHcbIL9LV2A9OikE;9OJDO8_SKFNSZ1n^B98iJOZV1oJdgXNK X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:4364 Date: 2009-01-16T18:34:41+01:00 List-Id: ChristopherL schrieb: > On Jan 16, 7:11 am, Ludovic Brenta wrote: >> type Signed_8 is range - 2**7 .. 2**7 - 1; >> for Signed_8'Size use 8; > > I didn't use the second line in my program! Without it, my system > uses 10 bits for this. Is it actually doing that or is it just the debugger which says so? You can always test this with if Signed_8'Size = 10 then ... > What does the following line of code do? It's new to me and have to > know! > > type Short_integer1 is mod 2 ** 8; > Which text book are you using? This should be covered in every Ada text book in an early chapter.