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,1ed99b77c3c94624 X-Google-Attributes: gid103376,public From: "Ralf Tita" Subject: help: type and packages Date: 1999/02/06 Message-ID: <79g0gg$ppm$1@news.cs.tu-berlin.de>#1/1 X-Deja-AN: 441181758 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: news@cs.tu-berlin.de X-Trace: news.cs.tu-berlin.de 918259024 26422 130.149.145.58 (5 Feb 1999 23:57:04 GMT) Organization: Technische Universitaet Berlin, Deutschland Mime-Version: 1.0 NNTP-Posting-Date: 5 Feb 1999 23:57:04 GMT Newsgroups: comp.lang.ada Date: 1999-02-05T23:57:04+00:00 List-Id: Hi there, I'm using ADA83 and have a problem with types in differnt packeges. My first package looks like this: package first is ... type HAND_T is (open,close); ... end first; the second package wich imports the first includes this type in a record: with first; use first; package second is ... type TODO_T is record Hand : HAND_T; movement: : MOVE_T; end record; ... end second; -- no problem. But when I want to use this record in a third packege wich only imports the second package the compiler don't knows the component HAND_T of the record. with second; use second; package third is WhatToDo: TODO_T; ... WhatToDo.Hand:=open; -- here comes the compiler error .... end third; so does anybody knows where the mistake is ? When you got an solution please send me a mail. thanks a lot Ralf Tita natsulu@cs.tu-berlin.de