From: "Cameron McShane" <cazza@aceonline.com.au>
Subject: Re: Text Files
Date: 2000/05/23
Date: 2000-05-23T13:32:00+00:00 [thread overview]
Message-ID: <959088712.853876@hearts.q-net.net.au> (raw)
In-Reply-To: 8gdguu$f9v$1@news.cowan.edu.au
Hey
Im having a similar problem with this.
I have the program writing to a file etc, however only when using a direct
filename, ie
Text_Io.Create(
File => In_Data,
Mode => Text_Io.Out_File,
Name => "c:\biff.txt");
This works beautifully.
When I try and get user input for the name of the string, ie
Text_io.get_line(Filename, Last);
Text_Io.Create(
File => In_Data,
Mode => Text_Io.Out_File,
Name => Filename(1..Last));
it doesn't work
Any ideas what i am doing wrong?
Any help would be appreciated!
Cheers
Cameron
Karlene <kejohnso@student.ecu.edu.au> wrote in message
news:8gdguu$f9v$1@news.cowan.edu.au...
> How can you create a text file to be written to and read from (seperatley)
> in an ada program where the file name is inputed from the user??
>
>
>
next prev parent reply other threads:[~2000-05-23 0:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-23 0:00 Text Files Karlene
2000-05-23 0:00 ` Cameron McShane [this message]
2000-05-23 0:00 ` tmoran
2000-05-23 0:00 ` Ted Dennison
2000-05-23 0:00 ` John English
2000-05-23 0:00 ` Marin D. Condic
2000-05-25 0:00 ` Cameron McShane
2000-05-25 0:00 ` Jean-Pierre Rosen
2000-05-26 0:00 ` Dale Stanbrough
2000-05-23 0:00 ` Marin D. Condic
2000-05-23 0:00 ` David Freshwater
2000-05-23 0:00 ` Ted Dennison
2000-05-23 0:00 ` Robert Dewar
2000-05-24 0:00 ` Marin D. Condic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox