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,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7722b78486dfd336 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.agarik.com!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Lionel.DRAGHI@fr.thalesgroup.com Newsgroups: comp.lang.ada Subject: RE: Zero_Fill pragma, other proposition Date: Wed, 21 Jul 2004 18:50:08 +0200 Organization: Cuivre, Argent, Or Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: melchior.cuivre.fr.eu.org 1090428680 23729 212.85.156.195 (21 Jul 2004 16:51:20 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 21 Jul 2004 16:51:20 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: X-Mailer: Internet Mail Service (5.5.2653.19) X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:2325 Date: 2004-07-21T18:50:08+02:00 | -----Message d'origine----- | De: Nick Roberts [mailto:nick.roberts@acm.org] .. | for Message use record | Id at 0 range 0 .. 7; | all 0 at 0 range 8 .. 15; | Data at 0 range 16 .. 65; | end record; Its a better syntax, as it doens't require a field name, but the "all" does not fit well with random value. So why not directly a numeric literal? for Message use record Id at 0 range 0 .. 7; 2#1011_1010# at 0 range 8 .. 15; Data at 0 range 16 .. 65; end record; That's pretty clear, isn't it? -- Lionel Draghi