comp.lang.ada
 help / color / mirror / Atom feed
From: siping@cathedral.cerc.wvu.wvnet.edu (Siping Liu)
Subject: **** a simple example ****
Date: 14 Sep 90 22:38:11 GMT	[thread overview]
Message-ID: <794@babcock.cerc.wvu.wvnet.edu> (raw)

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

             reply	other threads:[~1990-09-14 22:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-09-14 22:38 Siping Liu [this message]
1990-09-15 13:47 ` **** a simple example **** stt
1990-09-16  2:51 ` Michael Feldman
replies disabled

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