Reply: expect procedure name in procedure call(newbie)

From: Michael Mounteney (gate02_at_wrandyke.demon.co.uk)
Date: 12/29/04


Date: 29 Dec 2004 07:53:32 -0800

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.



Relevant Pages