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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b3b93af4cfcf5a32 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-25 12:31:21 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail From: "Deepie" Newsgroups: comp.lang.ada References: <3c7a72b1.30319166@news.demon.co.uk> Subject: Re: reading from a file X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 25 Feb 2002 20:30:41 -0000 NNTP-Posting-Host: 62.255.149.165 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 1014669049 62.255.149.165 (Mon, 25 Feb 2002 20:30:49 GMT) NNTP-Posting-Date: Mon, 25 Feb 2002 20:30:49 GMT Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:20395 Date: 2002-02-25T20:30:41+00:00 List-Id: F is defined as 'text_io.file_type' i am using Sequentional_io and the file is open regards, deepie "John McCabe" wrote in message news:3c7a72b1.30319166@news.demon.co.uk... > On Mon, 25 Feb 2002 17:08:01 -0000, "Deepie" > wrote: > > >Hi, > > > >I am currently writing a program from which i need to read in from a file. > > > >When trying to read from the file using a command such as Skip_Line(F), F > >being the file handle, i generate an 'invalid parameter in use' error. > > > >things like Get_Line(F, name, length) dont work either. am i missing > >something here? > > This sounds like something very obvious is wrong - give us an example > and (if you're not trying to get us to do your homework), you'll > probably get a reasonable answer. A few questions: > > 1) What is 'F' defined as? > 2) What type of file-io are you using? > 3) Have you opened the file for reading? > > etc. >