Reply: expect procedure name in procedure call(newbie)
From: Michael Mounteney (gate02_at_wrandyke.demon.co.uk)
Date: 12/29/04
- Next message: R: "overloading operators with private variables"
- Previous message: danmcleran_at_hotmail.com: "Re: Private area and child packages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: R: "overloading operators with private variables"
- Previous message: danmcleran_at_hotmail.com: "Re: Private area and child packages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|