A. Venkateswaran
2004-07-17 18:55:53 UTC
If a non-void procedure does not contain a return statement, what should the compiler do? Is it alright to throw an exception? I see that the SL spec says "If a procedure ends by falling off the end, the return value is unspecified" - does that mean we should always simply return zeros (or some garbage value) regardless of the return type?
Thanks in advance,
Anandh
Thanks in advance,
Anandh