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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.118.38 with SMTP id k26mr841319yhh.35.1393968959243; Tue, 04 Mar 2014 13:35:59 -0800 (PST) X-Received: by 10.140.39.145 with SMTP id v17mr43224qgv.36.1393968959225; Tue, 04 Mar 2014 13:35:59 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news.glorb.com!w5no742904qac.0!news-out.google.com!bw18ni1138qab.1!nntp.google.com!hw13no742286qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Mar 2014 13:35:59 -0800 (PST) In-Reply-To: <9b780534-04fb-43c8-b8de-1610421c471d@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.115.2.128; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 188.115.2.128 References: <9b780534-04fb-43c8-b8de-1610421c471d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Reading data from file From: Laurent Injection-Date: Tue, 04 Mar 2014 21:35:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1933 X-Original-Bytes: 2013 Xref: number.nntp.dca.giganews.com comp.lang.ada:185130 Date: 2014-03-04T13:35:59-08:00 List-Id: Am Dienstag, 4. M=E4rz 2014 22:27:25 UTC+1 schrieb Laurent: > Hi > Here is my code. It compiles but it isn't complete. Will probably fail fo= r the moment if I try to read >more than one record. (Won't read even one s= o...). Reading the name could be one reason for the >problem with the enume= ration.=20 > @Adam: I think I have to put a line to display what my construction is re= ading/and the content of Temp_Record just before the program terminates. It is indeed the name string which bombs my program. Commented this line ou= t and removed it from the txt file and everything works :(=20 Thanks Laurent