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.6 required=5.0 tests=BAYES_05,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,959bd5b133447bcd,start X-Google-Attributes: gid103376,public From: rross@postoffice.ptd.net (bob) Subject: Help with project Date: 1999/04/18 Message-ID: <371c09bd.16531847@news.ptd.net>#1/1 X-Deja-AN: 467979351 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@ptd.net X-Trace: nnrp2.ptd.net 924453444 204.186.11.72 (Sun, 18 Apr 1999 12:37:24 EDT) Organization: PenTeleData http://www.ptd.net MIME-Version: 1.0 Reply-To: rross@postoffice.ptd.net NNTP-Posting-Date: Sun, 18 Apr 1999 12:37:24 EDT Newsgroups: comp.lang.ada Date: 1999-04-18T00:00:00+00:00 List-Id: Hi, I am having a problem in trying to implement a program that simulates a waiting line queue in an airport, the workers are stored in an array of records, (the record will be the agent), each agent has a pointer to their line(type line_access), I must declare a record for a customer in the generic spec , and instantiate it in our source code, inside this record will be info about the customer(time in queue, etc), now, below in the private area, I have PRIVATE TYPE line; TYPE line_access IS ACCESS line; TYPE line IS RECORD info: X; Next: line_access; END RECORD; TYPE Agent IS RECORD Head:line_access; cur_cust:line_access; free_time:Integer; etc(things for the agent) END RECORD; where X is the customer record which will instantiated the problem is, i have subprograms in the source that wont compile because i cant access agent or any of its fields, unless i go through the spec. some of the subprograms are , checkagents-see if they are done servicing cur_cust addtoqueue-adds a cust removefromqueue-removes from head of link list, assigns that one to cur_cust if i put the subprograms to the body, then it cant find the fields for the customer do u have any ideas what to do? thanks for taking the time to read this jarrod Please reply to.... rossjar@db.erau.edu