comp.lang.ada
 help / color / mirror / Atom feed
From: shoshanister@gmail.com
Subject: Re: urgent question - generics
Date: Mon, 03 Sep 2007 04:36:33 -0700
Date: 2007-09-03T04:36:33-07:00	[thread overview]
Message-ID: <1188819393.588005.23850@r34g2000hsd.googlegroups.com> (raw)
In-Reply-To: <I9SCi.486762$p47.35408@bgtnsc04-news.ops.worldnet.att.net>

On Sep 3, 2:24 pm, a...@anon.org (anon) wrote:
> Dude.
>
> He can learn generic on his own! That why my code did not include
> any generic code. If you really look at the code you would have see
> that.
>
> Plus, If the guy looks that the numeric packages in GNAT he will
> probability find exactly what he wants, in less than 5 minutes. GNAT
> seams to have ever type of question answered in their source code.  
> Even if its bad programmimg.  And in some places GNAT source code
> even point out that its bad programming.
>
> What I answered was, one way to access the procedure once
> program called the function. And my code works in GNAT Ada. It
> works for both a procedure with or without a parameter list.
>
> In <46dbe4ac$0$3196$39db0...@news.song.fi>, Niklas Holsti <niklas.hol...@nospam.please> writes:
>
>
>
> >anon wrote:
> >> with Ada.text_IO ;
> >> with System ;
>
> >> procedure zzero is
>
> >>   function function_0 ( func : System.Address ; Data : Float )
> >>              return float is
>
> >>      procedure tst ;
> >>      pragma Import ( Ada, tst ) ;
> >>      for tst'address use func ;
>
> >I hope that the original poster understands that "anon's" answer is
> >not correct. I agree that the newsgroup should not supply
> >ready-made answers to homework or examination questions, but we
> >should not supply false answers either.
>
> >To the OP: surely your study materials contain examples of generic
> >functions or other generic components. Can you say more
> >specifically what you don't understand in those examples, or in the
> >question you are trying to solve?
>
> >--
> >Niklas Holsti
> >Tidorum Ltd
> >niklas holsti tidorum fi
> >       .      @       .- Hide quoted text -
>
> - Show quoted text -

Hi, First, I'm a female.
Please don't post any more answers or such.
I understand according to what you wrote that I probably did not fully
understand the generics mechanism. In this case, even if you will
answer my question, it will not help me because my exam starts in an
hour.
I posted the question here, after trying to figure things out by my
self, and I had no intention to insult any one of you or to take
advantage of you.
In a way, I'm not worried of not passing the exam. The worse thing
that can happen is that I will take the course again, and gain my
knowledge from the teacher as well as from the books, because studying
ADA by your self is not simple.
Thanks a lot for your help.
I hope that some day I will be able to join this group as an equal
member and not just a student.





  reply	other threads:[~2007-09-03 11:36 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03  8:47 urgent question - generics shoshanister
2007-09-03  9:14 ` Pascal Obry
2007-09-03  9:28   ` shoshanister
2007-09-03  9:58     ` Dmitry A. Kazakov
2007-09-03 10:19       ` shoshanister
2007-09-03 10:48     ` Markus E L
2007-09-03 13:41     ` Pascal Obry
2007-09-03 14:08       ` Niklas Holsti
2007-09-03 14:44         ` Pascal Obry
2007-09-03 15:01         ` Dmitry A. Kazakov
2007-09-03 14:36       ` Jean-Pierre Rosen
2007-09-03 16:46       ` shoshanister
2007-09-03 19:58         ` Georg Bauhaus
2007-09-03 10:23 ` anon
2007-09-03 10:42   ` Niklas Holsti
2007-09-03 10:58     ` shoshanister
2007-09-03 11:04       ` Georg Bauhaus
2007-09-03 11:06         ` shoshanister
2007-09-03 12:00           ` Georg Bauhaus
2007-09-03 11:24     ` anon
2007-09-03 11:36       ` shoshanister [this message]
2007-09-03 13:01         ` anon
2007-09-03 16:35           ` shoshanister
2007-09-04  0:38             ` anon
2007-09-04  6:38               ` Georg Bauhaus
2007-09-05  3:47                 ` anon
2007-09-05 10:11                   ` Georg Bauhaus
2007-09-05 12:36                     ` To Georg Bauhaus anon
2007-09-05 13:50                       ` Keep slang words in describing Ada programming? (was: To Georg Bauhaus) Georg Bauhaus
2007-09-05 14:40                         ` To new TROLL named Georg Bauhaus anon
2007-09-05 18:10                           ` Georg Bauhaus
     [not found]                           ` <op.tx7g6crr5afhvo@dogen>
2007-09-06  2:54                             ` anon
2007-09-06  9:20                               ` Markus E L
2007-09-06  6:15                             ` Dirk Heinrichs
2007-09-06  9:18                             ` Markus E L
2007-09-05 11:37                   ` urgent question - generics Markus E L
2007-09-03 13:27         ` Ludovic Brenta
2007-09-03 13:18       ` Markus E L
2007-09-03 10:56   ` Markus E L
2007-09-05  3:49     ` Troll -- Markus E L anon
2007-09-05 11:35       ` Markus E L
2007-09-03 16:18   ` urgent question - generics tmoran
2007-09-03 21:39     ` anon
2007-09-03 11:39 ` gautier_niouzes
2007-09-03 11:59   ` shoshanister
replies disabled

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