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,15b980291302dd26 X-Google-Attributes: gid103376,public From: "Marc A. Criley" Subject: Re: limited private types Date: 2000/04/27 Message-ID: <3908264D.2783A2BB@lmco.com>#1/1 X-Deja-AN: 616301285 Content-Transfer-Encoding: 7bit References: <8e7jbb$s0h$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.vf.lmco.com X-Trace: knight.vf.lmco.com 956834633 18958 166.17.131.243 (27 Apr 2000 11:23:53 GMT) Organization: Lockheed Martin M&DS Mime-Version: 1.0 NNTP-Posting-Date: 27 Apr 2000 11:23:53 GMT Newsgroups: comp.lang.ada Date: 2000-04-27T11:23:53+00:00 List-Id: You can use an "access File_Type" type, allocate instances of it, stack them, and Close them--Close(F.all). Marc r_srinivasan@my-deja.com wrote: > > folks, > > I hope someone has a reasonable suggestion for the following problem : > > I am developing a file processing application that requires opening and > closing of an unspecified number of files. Ideally i would like to > build a "stack" of "files". > > Currently I am using text_io package. Unfortunately the type > text_io.file_type is a "limited private" type and this means no > assignments. I have been able to get around this somewhat by using > File_access type but there is no "close" procedure that will take a > file_access. > > Any and all ideas would be appreciated. > > regards > > srini > > Sent via Deja.com http://www.deja.com/ > Before you buy.