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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,10228ca368e269f3,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!not-for-mail From: brittany_2005@mail.com (Brittany) Newsgroups: comp.lang.ada Subject: test with task Date: 17 Dec 2004 05:17:20 -0800 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 165.21.7.102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1103289441 3811 127.0.0.1 (17 Dec 2004 13:17:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Dec 2004 13:17:21 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:7031 Date: 2004-12-17T05:17:20-08:00 List-Id: Move the declaration of dummy to bar spec as in package Foo is package Bar is type Dummy is new Integer; procedure nulla; end Bar; end Foo; package body Foo is package body Bar is -- moved to spec type Dummy is new Integer; procedure Nulla is X : Dummy; begin X:=1; end Nulla; end Bar; type N Array is array (1 .. 10) of Bar.Dummy; end Foo; /Bj rn > > > comp.lang.ada mailing list > comp.lang.ada@ada-france.org > http://www.ada-france.org/mailman/listinfo/comp.lang.ada Post a follow-up to this message Message 7 in thread From: mferracini (maurizio.ferracini@gmail.com) Subject: Re: test with task View this article only Newsgroups: comp.lang.ada Date: 2004-11-23 08:37:22 PST new problem :) (i try a solution of my problem but dont' work...) package Foo is package Bar is procedure nulla; end Bar; end Foo; package body Foo is package body Bar is type Dummy is new Integer; procedure Nulla is X : Dummy; begin X:=1; end Nulla; end Bar; type N_array is array (1..10) of dummy; begin null; end Foo; -------------------------------- how make dummy visible? and if dummy is a task type? thanks http://www.geocities.com/gooksite/googlegrp.html