comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent <daemon2@internet.lu>
Subject: Re: Reading data from file
Date: Wed, 5 Mar 2014 13:13:38 -0800 (PST)
Date: 2014-03-05T13:13:38-08:00	[thread overview]
Message-ID: <3b08719c-e689-4170-9c1c-3f9250030dd6@googlegroups.com> (raw)
In-Reply-To: <lf83a7$mqa$1@dont-email.me>

It is this what he meant?

Ada.Integer_Text_IO.Get (File => Import_File, Item => Temp_Record.ID);
Ada.Text_IO.Skip_Line;
Ada.Text_IO.Get_Line(File => Import_File, Item => Temp_Record.Name,Last => Name_Length);

That doesn't work.

Ada.Integer_Text_IO.Get (File => Import_File, Item => Temp_Record.ID);
Ada.Text_IO.Skip_Line;
Ada.Text_IO.Get(File => Import_File, Item => Temp_Record.Name);

Works (not forgetting to add the spaces in the txt file)

> The Skip_Line works only if I use it together with: 
> Ada.Text_IO.Get (File => Import_File, Item => Temp_Record.Name); 

Hm yes quit confuse sentence. I knew what I meant to say which doesn't
imply that that someone else does. Sry



  reply	other threads:[~2014-03-05 21:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04  9:46 Reading data from file Laurent
2014-03-04 16:17 ` adambeneschan
2014-03-04 18:08 ` Mike H
2014-03-04 21:27   ` Laurent
2014-03-04 21:35     ` Laurent
2014-03-04 21:42     ` Niklas Holsti
2014-03-05 13:59     ` Mike H
2014-03-05 20:33       ` Laurent
2014-03-05 21:00         ` Jeffrey Carter
2014-03-05 21:13           ` Laurent [this message]
2014-03-05 21:25             ` Niklas Holsti
2014-03-05 21:56               ` Laurent
2014-03-06  8:35                 ` Dmitry A. Kazakov
2014-03-07 21:55                   ` Laurent
2014-03-08  6:56                     ` Dmitry A. Kazakov
2014-03-08 21:21                       ` Laurent
2014-03-09 22:39                         ` Laurent
2014-03-10  2:42                           ` Jeffrey Carter
2014-03-11 20:54                             ` Laurent
2014-03-08  9:00                     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox