comp.lang.ada
 help / color / mirror / Atom feed
From: Sven <sven.weidauer@gmail.com>
Subject: Re: How to pass around access types to interfaces?
Date: Sat, 25 Oct 2008 01:54:50 -0700 (PDT)
Date: 2008-10-25T01:54:50-07:00	[thread overview]
Message-ID: <37c7a1b3-d5c3-4a3c-a032-e70ba59d3473@v28g2000hsv.googlegroups.com> (raw)
In-Reply-To: 031d5069-6195-4d22-ae8c-1cc6c2985ea8@a1g2000hsb.googlegroups.com

On 24 Okt., 23:32, sjw <simon.j.wri...@mac.com> wrote:
> On Oct 24, 12:45 pm, Sven <sven.weida...@gmail.com> wrote:
>
> > I'm trying to get this code to run:
>
> > in some package:
> >   type My_Interface is interface;
> >   type My_Interface_Access is access all My_Interface'Class;
>
> >   procedure Do_Something( Item : in out Some_Object; With :
> > My_Interface_Access );
>
> Does your compiler let you use the reserved word 'with' as the name of
> a parameter? That could confuse things ..

I guess not. My real code looks different, I just made those names up
to show what my problem is. That was easier than to strip down my
actual code to just the problem.



  reply	other threads:[~2008-10-25  8:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 11:45 How to pass around access types to interfaces? Sven
2008-10-24 12:24 ` Niklas Holsti
2008-10-24 12:49   ` Sven
2008-10-24 13:55     ` Ludovic Brenta
2008-10-24 21:32 ` sjw
2008-10-25  8:54   ` Sven [this message]
2008-10-25 15:43 ` Martin Krischik
2008-10-25 22:15   ` Robert A Duff
2008-10-26  8:02     ` Dmitry A. Kazakov
2008-10-26 15:50     ` Martin Krischik
2008-10-28 13:41       ` Maciej Sobczak
2008-10-29 14:15         ` Martin Krischik
2008-10-31 13:38           ` Maciej Sobczak
2008-10-31 14:46             ` Dmitry A. Kazakov
2008-10-29 12:42   ` Sven
2008-10-29 13:17     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox