comp.lang.ada
 help / color / mirror / Atom feed
* **** a simple example ****
@ 1990-09-14 22:38 Siping Liu
  1990-09-15 13:47 ` stt
  1990-09-16  2:51 ` Michael Feldman
  0 siblings, 2 replies; 3+ messages in thread
From: Siping Liu @ 1990-09-14 22:38 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1990-09-16  2:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-09-14 22:38 **** a simple example **** Siping Liu
1990-09-15 13:47 ` stt
1990-09-16  2:51 ` Michael Feldman

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