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.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!aplcen!haven!cs.wvu.wvnet.edu!cerc.wvu.wvnet.edu!cathedral!siping From: siping@cathedral.cerc.wvu.wvnet.edu (Siping Liu) Newsgroups: comp.lang.ada Subject: **** a simple example **** Message-ID: <794@babcock.cerc.wvu.wvnet.edu> Date: 14 Sep 90 22:38:11 GMT Sender: news@cerc.wvu.wvnet.edu List-Id: I am a beginer of ADA and I have a very simple question which my book didn't tell me how to do it. At the top level, can I have one procedure calling another procedure? My book (software engineering with ada by Grady Booch) says so but my compiler tells me "proc1" is not declared: procedure proc1 is begin .... end proc1; procedure proc2 is begin .... proc1; .... end proc2; Can you tell me what's wrong? Thank you for your help. siping@cerc.wvu.wvnet.edu