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,9406c9586288fd40 X-Google-Attributes: gid103376,public From: mcc@tyrolia.cs.princeton.edu (Martin C. Carlisle) Subject: Re: Data Structures of limited private types Date: 1998/08/26 Message-ID: <6s1qgn$339$1@cnn.Princeton.EDU>#1/1 X-Deja-AN: 385058819 References: <6s1d17$i19$1@nnrp1.dejanews.com> Organization: US Air Force Academy, Dept of Computer Science Newsgroups: comp.lang.ada Date: 1998-08-26T00:00:00+00:00 List-Id: In article <6s1d17$i19$1@nnrp1.dejanews.com>, wrote: >I have a need to build a stack / linked_list of "Text_Io.File_Type"s. This >being a limited private type, I am not able to perform "assignments" of a >variable of this type. > >Can anyone give me some pointers or an example of how this can be done? You need to have an access type to Text_IO.File_Type, and create a stack of these. Remember to make sure the initial declarations of the file variables are aliased. --Martin -- Martin C. Carlisle, Computer Science, US Air Force Academy mcc@cs.usafa.af.mil, http://www.usafa.af.mil/dfcs/bios/carlisle.html DISCLAIMER: This content in no way reflects the opinions, standard or policy of the US Air Force Academy or the United States Government.