comp.lang.ada
 help / color / mirror / Atom feed
* Reply: expect procedure name in procedure call(newbie)
@ 2004-12-29 15:53 Michael Mounteney
  0 siblings, 0 replies; only message in thread
From: Michael Mounteney @ 2004-12-29 15:53 UTC (permalink / raw)


You are calling a function as though it were a procedure.  This is
alright in C and C++, where the result is just silently thrown away,
but in Ada you have to do something with the result, such as assign it
or use it in a subsequent expression or routine call.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-29 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-29 15:53 Reply: expect procedure name in procedure call(newbie) Michael Mounteney

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