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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,ea7ac816f5c3d0a7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-25 05:12:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Wide_Text_IO: bad data in text file Date: Fri, 25 Oct 2002 13:48:56 +0200 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1035546748 21367 195.25.228.57 (25 Oct 2002 11:52:28 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 25 Oct 2002 11:52:28 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:30127 Date: 2002-10-25T13:48:56+02:00 List-Id: "Grein, Christoph" a �crit dans le message news: mailman.1035522182.23022.comp.lang.ada@ada.eu.org... > > Exactly when did Gnat raise Constraint_Error? At the Get? Or later when you use the value > read? > Gnat raises Constraint_Error at the Get (this is documented in the top-secret documentation). By default, Gnat uses bracket encoding, and therefore you cannot read plain text with Wide_Text_IO if the file happens to contain square brackets - quite annoying actually. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr