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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6d608a86e65c95d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-05 23:37:26 PST From: "Martin Dowie" Newsgroups: comp.lang.ada References: Subject: Re: Ada Stuff and some confusion Date: Fri, 6 Apr 2001 07:38:40 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: sg2c11210.dsge.edinbr.gmav.gecm.com Message-ID: <3acd6238$1@pull.gecm.com> X-Trace: 6 Apr 2001 07:29:12 GMT, sg2c11210.dsge.edinbr.gmav.gecm.com Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!sg2c11210.dsge.edinbr.gmav.gecm.com Xref: supernews.google.com comp.lang.ada:6550 Date: 2001-04-06T07:38:40+01:00 List-Id: 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 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.