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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3727f1245650af64 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-17 02:45:43 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: Re: Pascal to ADA Date: Mon, 17 Nov 2003 10:44:20 +0000 Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1069065872 79390 80.67.180.195 (17 Nov 2003 10:44:32 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 17 Nov 2003 10:44:32 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: X-Mailer: Ximian Evolution 1.4.5 X-OriginalArrivalTime: 17 Nov 2003 10:44:07.0021 (UTC) FILETIME=[B9C6A9D0:01C3ACF7] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2562 Date: 2003-11-17T10:44:20+00:00 On Mon, 2003-11-17 at 10:12, Tilman Gloetzner wrote: > Hello, > > 1) what is a effecient way of rewriting the following code fragement in ADA > ? With the absolute keyword, Pascal effectively casts... If you don't write "PASCAL", why on Earth do you write "ADA"???!!! Ada has many ways to treat bits as boolean values: (uncheckedly) convert between a modular type and an array of Boolean; a record type with Boolean components and representation clauses... Sorry, the Pascal reference I have here (Report 3rd ed., 1984) does not have the "absolute" keyword, so I cannot interpret your code further just now. Since when is "absolute" in the standard, BTW?