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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aed6eac65b3bc766,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-11 10:12:34 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!diablo.netcom.net.uk!netcom.net.uk!nntp.news.xara.net!xara.net!gxn.net!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada Subject: A quickie problem with an array and a right hand bracket X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Mon, 11 Jun 2001 18:08:22 +0100 NNTP-Posting-Host: 62.252.153.56 X-Complaints-To: abuse@ntlworld.com X-Trace: news2-win.server.ntlworld.com 992279242 62.252.153.56 (Mon, 11 Jun 2001 18:07:22 BST) NNTP-Posting-Date: Mon, 11 Jun 2001 18:07:22 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:8558 Date: 2001-06-11T18:08:22+01:00 List-Id: Hello everyone, I'm trying to provide an array for quickie conversion between numbers and character equivalents like this type array_16 is array (natural range 0..15) of character; basic_16 : constant array_16 := ('0'..'9'|'a'..'f'); The compiler corrected me on the use of a comma where the dda ("d divides a", from math sorry, it's a bar or more symbol) but this doesn't help with "unexpected parenthesis error" when it's compiled. What's the problem? It looks correct to me but clearly i am missing something (very subtle) point. In case i get the use text_io and tear off the start and end parts for displaying in other bases argument. I do not want to use text_io in this manner since i want to remove (as much as possible) dependance on the standard packages (for now). Thanks, Chris Campbell