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,b93a9fb8d98788f1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-16 13:49:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: read filename and then open text file Date: 16 Nov 2002 16:44:56 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1037483791 21593 128.183.235.92 (16 Nov 2002 21:56:31 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 16 Nov 2002 21:56:31 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:30988 Date: 2002-11-16T21:56:31+00:00 List-Id: Bjoern Schiessle writes: > > but it doesn't work. I get the message: > > expected type "Standard.String" > found private type "Ada.Strings.Unbounded.Unbounded_String" There is a "To_String" function in Ada.Strings.Unbounded; it does what you need. Please post compilable code; that will get better help. -- -- Stephe