comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@nospam.baesystems.com>
Subject: Re: Ada Stuff and some confusion
Date: Fri, 6 Apr 2001 07:38:40 +0100
Date: 2001-04-06T07:38:40+01:00	[thread overview]
Message-ID: <3acd6238$1@pull.gecm.com> (raw)
In-Reply-To: nh0z6.4622$%W5.458504@news6-win.server.ntlworld.com

In the 'general programming' sense the difference between declaration and
definition of a routine can be illustrated by:

procedure Y;  -- declaration of Y

procedure Y is -- definition of Y
begin
  ...
end Y;

i.e. declarations bring the identity and form of an entity into being and
the
definition states what the entity does.

the ARM has things to say about these words in the Ada sense all of its own
and are covered in other replies. :-)

chris.danx <chris.danx@ntlworld.com> wrote in message
news:nh0z6.4622$%W5.458504@news6-win.server.ntlworld.com...
> Now I need you're help again with a general programming question.  I'm
> confused as to the difference between 'declaration' and 'definition'.  I
> remember reading somewhere that many computer programmers don't know or
> confuse them.  I also don't want to put up inaccurate stuff up on the web,
> and proliferate the wrong definitions and add to the situation.






      parent reply	other threads:[~2001-04-06  6:38 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-05 15:36 Ada Stuff and some confusion chris.danx
2001-04-05 17:01 ` Marin David Condic
2001-04-05 19:44   ` chris.danx
2001-04-05 20:46     ` Marin David Condic
2001-04-05 21:09       ` Mark Lundquist
2001-04-05 21:48         ` Marin David Condic
2001-04-06  1:21           ` Mark Lundquist
2001-04-06 13:55             ` Marin David Condic
2001-04-05 22:19       ` chris.danx
2001-04-06  1:18         ` Mark Lundquist
2001-04-06 11:37           ` chris.danx
2001-04-06 14:39             ` Ted Dennison
2001-04-06 14:55               ` Marin David Condic
2001-04-06 16:53             ` Mark Lundquist
2001-04-06 18:02               ` Marin David Condic
2001-04-06 14:24         ` Marin David Condic
2001-04-06 14:51           ` chris.danx
2001-04-06 15:01             ` Marin David Condic
2001-04-11 13:21               ` chris.danx
2001-04-06 15:27           ` Ted Dennison
2001-04-06 16:19             ` Marin David Condic
2001-04-06  1:22   ` Mark Lundquist
2001-04-06  3:45   ` Mark Lundquist
2001-04-06 14:50     ` Ted Dennison
2001-04-06 16:33       ` Mark Lundquist
2001-04-07 21:05       ` Florian Weimer
2001-04-05 17:19 ` Smark
2001-04-05 19:09   ` Marin David Condic
2001-04-06  3:43 ` Source licensing (was " Mark Lundquist
2001-04-06 12:00   ` Larry Kilgallen
2001-04-06  6:38 ` Martin Dowie [this message]
replies disabled

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