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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,913c345bb1f6b908 X-Google-Attributes: gid103376,public From: "Cameron McShane" Subject: Re: Text Files Date: 2000/05/23 Message-ID: <959088712.853876@hearts.q-net.net.au>#1/1 X-Deja-AN: 626276417 Cache-Post-Path: hearts.q-net.net.au!unknown@cazza.aceonline.com.au References: <8gdguu$f9v$1@news.cowan.edu.au> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: usenet@news.interpacket.net X-Trace: news.interpacket.net 959088720 91656 203.91.64.133 (23 May 2000 13:32:00 GMT) Organization: Volvo Driver's Club JA! X-MSMail-Priority: Normal X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) NNTP-Posting-Date: 23 May 2000 13:32:00 GMT Newsgroups: comp.lang.ada Date: 2000-05-23T13:32:00+00:00 List-Id: 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 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?? > > >