comp.lang.ada
 help / color / mirror / Atom feed
* Pragma Comment  -- What does it do?
@ 1999-11-10  0:00 MaryAnn Atkinson
  1999-11-10  0:00 ` Ted Dennison
  0 siblings, 1 reply; 7+ messages in thread
From: MaryAnn Atkinson @ 1999-11-10  0:00 UTC (permalink / raw)
  To: comp.lang.ada

Does anyone know what do the following pragmas do?

1. Pragma Comment
I see it inside some code, and it compiles fine, 
but it appears nowhere else thereafter. 
So I wonder, if its just a line inside the source, 
why dont I just have a comment line -- to begin with?


2. Pragma Elaborate
I see it in some package specifications(Ada designers
goofed up when they didnt include the word SPEC in 
a specification package, but they did inlcude the word
BODY in the package body - but thats another story), 
but if I remove it, then everything compiles just as well.
So far it doesnt matter if its there or not...

I am a rather experienced programmer, but also semi-new
to Ada, so please forgive any boring/dumb questions.

Thanks, 
MAA
maryann_30@yahoo.com

P.S. If someone replies, could you please cc: me as well?

=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com







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

end of thread, other threads:[~1999-11-12  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-10  0:00 Pragma Comment -- What does it do? MaryAnn Atkinson
1999-11-10  0:00 ` Ted Dennison
1999-11-10  0:00   ` Tucker Taft
1999-11-10  0:00   ` Marin Condic
1999-11-11  0:00     ` Ted Dennison
1999-11-12  0:00       ` Robert Dewar
1999-11-11  0:00   ` Robert Dewar

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