Re: Text_IO.Get_Line QUESTION

From: Jeremy Ovenden <jovenden_at_hazelweb.co.uk>
Date: Thu, 5 Nov 1998 16:12:55 -0000
Message-ID: <71sio0$bqs$1_at_newnews.global.net.uk>


I was wondering exactly same thing...for now I trap the EOF (no_data_found) exception in my exception handler and carry on from there -- probably not the most elegant approach, but it works whilst I research the 'proper' way to do it!!

Ken Halsted wrote in message <71seht$9rn$1_at_supernews.com>...
>Could someone please explain to me the syntax for doing a loop using
>text_io.get_line while NOT EOF?
>
>In C this is easy but...............
>
>for example. I want to read a line from a text file inside a loop until
the
>EOF at which point I want to continue on with the next statements.
>
>Thanks in advance for any help with this!
>
>Ken.
>
>
Received on Thu Nov 05 1998 - 17:12:55 CET

Original text of this message